u
This commit is contained in:
1 parent
8eedf281fd
commit
35bc29f356
13 files changed
+675
-171
No files matched your search
@@ -12,19 +12,11 @@ const AModal3Visible = ref(false)
|
||||
</button>
|
||||
|
||||
<!-- 第 1 个 AModal -->
|
||||
<AModal v-model:visible="AModal1Visible" mask-closable>
|
||||
<AModal v-model:visible="AModal1Visible" mask-closable >
|
||||
<template #title>
|
||||
第 1 个 AModal
|
||||
</template>
|
||||
<p>这是第 1 个弹窗内容</p>
|
||||
<template #footer>
|
||||
<button @click="AModal2Visible = true">
|
||||
打开第 2 个 AModal
|
||||
</button>
|
||||
<button @click="AModal1Visible = false">
|
||||
关闭
|
||||
</button>
|
||||
</template>
|
||||
</AModal>
|
||||
|
||||
<!-- 第 2 个 AModal -->
|
||||
@@ -44,7 +36,7 @@ const AModal3Visible = ref(false)
|
||||
</AModal>
|
||||
|
||||
<!-- 第 3 个 AModal -->
|
||||
<AModal v-model:visible="AModal3Visible" mask-closable>
|
||||
<AModal v-model:visible="AModal3Visible" mask-closable position="top">
|
||||
<template #title>
|
||||
第 3 个 AModal
|
||||
</template>
|
||||
|
||||
Reference in new issue
Block a user