mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
546 B
546 B
Dark Debug 4
<n-button @click="modalActive = !modalActive">Toggle</n-button>
<n-modal
title="Dark Modal Debug"
preset="card"
v-model:show="modalActive"
:style="{ marginTop: '24px', marginBottom: '24px', width: '800px' }"
>
<n-popover trigger="click">
<template #trigger>
<n-button style="margin:0;"> 悬浮 </n-button>
</template>
<span>或许不想知道你的花园长得咋样</span>
</n-popover>
</n-modal>
export default {
data () {
return {
modalActive: false
}
}
}