mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
20 lines
228 B
Vue
20 lines
228 B
Vue
<template>
|
|
<modal :show="value" />
|
|
</template>
|
|
|
|
<script>
|
|
import modal from './modal.vue'
|
|
|
|
export default {
|
|
components: {
|
|
modal
|
|
},
|
|
props: {
|
|
value: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}
|
|
}
|
|
</script>
|