mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
207 B
207 B
Basic
<n-button @click="active = !active">
active
</n-button>
<n-drawer v-model="active">
777
</n-drawer>
export default {
data () {
return {
active: false
}
}
}