Commit c2a159155c36dd669d7c32ad661f4e3cbb814a65
Committed by
GitHub
1 parent
70ee1c84
fix: 重复点击全屏会抖动 (#2571)
Showing
1 changed file
with
3 additions
and
1 deletions
src/views/demo/feat/full-screen/index.vue
1 | <template> | 1 | <template> |
2 | <PageWrapper title="全屏示例"> | 2 | <PageWrapper title="全屏示例"> |
3 | <CollapseContainer class="w-full h-32 bg-white rounded-md" title="Window Full Screen"> | 3 | <CollapseContainer class="w-full h-32 bg-white rounded-md" title="Window Full Screen"> |
4 | - <a-button type="primary" @click="enter" class="mr-2"> Enter Window Full Screen </a-button> | 4 | + <a-button type="primary" :disabled="isFullscreen" @click="enter" class="mr-2"> |
5 | + Enter Window Full Screen | ||
6 | + </a-button> | ||
5 | <a-button color="success" @click="toggle" class="mr-2"> Toggle Window Full Screen </a-button> | 7 | <a-button color="success" @click="toggle" class="mr-2"> Toggle Window Full Screen </a-button> |
6 | 8 | ||
7 | <a-button color="error" @click="exit" class="mr-2"> Exit Window Full Screen </a-button> | 9 | <a-button color="error" @click="exit" class="mr-2"> Exit Window Full Screen </a-button> |