fix: 重复点击全屏会抖动 (#2571)

This commit is contained in:
luocong2016 2023-02-22 18:31:44 +08:00 committed by GitHub
parent 70ee1c8403
commit c2a159155c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
<template>
<PageWrapper title="全屏示例">
<CollapseContainer class="w-full h-32 bg-white rounded-md" title="Window Full Screen">
<a-button type="primary" @click="enter" class="mr-2"> Enter Window Full Screen </a-button>
<a-button type="primary" :disabled="isFullscreen" @click="enter" class="mr-2">
Enter Window Full Screen
</a-button>
<a-button color="success" @click="toggle" class="mr-2"> Toggle Window Full Screen </a-button>
<a-button color="error" @click="exit" class="mr-2"> Exit Window Full Screen </a-button>