mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
21 lines
316 B
Vue
21 lines
316 B
Vue
<template>
|
|
<div>
|
|
<n-button @click="isActive = true">
|
|
active
|
|
</n-button>
|
|
<modal-wrapper v-model="isActive" />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import modalWrapper from './modalWrapper'
|
|
export default {
|
|
components: {
|
|
modalWrapper
|
|
},
|
|
data () {
|
|
return { isActive: false }
|
|
}
|
|
}
|
|
</script>
|