tiny-vue/examples/sites/demos/mobile-first/app/signature/in-dialogbox.vue

28 lines
621 B
Vue

<template>
<div>
<tiny-button @click="boxVisibility = true">默认属性配置</tiny-button>
<tiny-dialog-box :visible="boxVisibility" @update:visible="boxVisibility = $event">
<div class="h-72">
<tiny-signature ref="signature" :show-submit-button="false"></tiny-signature>
</div>
</tiny-dialog-box>
</div>
</template>
<script>
import { Signature, Button, DialogBox } from '@opentiny/vue'
export default {
components: {
TinySignature: Signature,
TinyDialogBox: DialogBox,
TinyButton: Button
},
data() {
return {
boxVisibility: false
}
}
}
</script>