mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
21 lines
320 B
Vue
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>
|