Newer
Older
xc-business-system / src / components / canvas / canvasDialog.vue
dutingting on 2 Mar 2024 645 bytes bug修复、手写签名画布公共组件
<!-- 画布弹窗 -->
<script lang="ts" setup name="canvasDialog">
import cancasCom from './index.vue'
const dialogFormVisible = ref(false)
/**
 * 初始化
 */
const initDialog = () => {
  dialogFormVisible.value = true // 显示对话框
}
// ----------------------------------------------钩子------------------------------------------------------
defineExpose({ initDialog })
</script>

<template>
  <el-dialog v-if="dialogFormVisible" v-model="dialogFormVisible" title="请签名" width="300px" height="300px">
    <cancas-com />
  </el-dialog>
</template>

<style lang="scss" scoped>
:deep(.el-radio__label) {
  display: none;
}
</style>