naive-ui/demo/debug-components/modalDebug/modalWrapper.vue

20 lines
230 B
Vue
Raw Normal View History

2019-12-23 15:01:22 +08:00
<template>
2019-12-23 21:40:45 +08:00
<modal v-model="value" />
2019-12-23 15:01:22 +08:00
</template>
<script>
2020-11-02 21:41:40 +08:00
import modal from './modal.vue'
2019-12-23 15:01:22 +08:00
export default {
components: {
modal
},
props: {
value: {
2019-12-23 15:01:22 +08:00
type: Boolean,
default: false
}
}
}
2019-12-23 21:40:45 +08:00
</script>