naive-ui/demo/debug-pages/modalDebug/index.vue
2021-01-13 12:01:02 +08:00

21 lines
320 B
Vue

<template>
<div>
<n-button @click="isActive = true">
active
</n-button>
<modal-wrapper v-model="isActive" />
</div>
</template>
<script>
import modalWrapper from './modalWrapper.vue'
export default {
components: {
modalWrapper
},
data () {
return { isActive: false }
}
}
</script>