From 3b9fd30846c2c43130dec826cb6b7b861f10f4d8 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Sat, 04 Feb 2023 15:19:36 +0800 Subject: [PATCH] 弹窗按钮支持禁用 --- forms/userSignature/CUserSignature.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/forms/userSignature/CUserSignature.vue b/forms/userSignature/CUserSignature.vue index 0c5dd73..f04bf42 100644 --- a/forms/userSignature/CUserSignature.vue +++ b/forms/userSignature/CUserSignature.vue @@ -1,5 +1,5 @@ /** - * CUserSignature + * CUserSignature - 用户签名 * @author Tevin */ @@ -42,9 +42,9 @@ import { Fetcher } from '@components/bases/Fetcher'; import { $fetchCommon } from '@fetchers/FCommon'; import { $bridge } from '@components/common/Bridge'; +import { $hostBoot } from '@components/bases/HostBoot'; import project from '@project'; import './cUserSignature.scss'; -import { $hostBoot } from '@components/bases/HostBoot'; export default { name: 'CUserSignature', @@ -58,9 +58,9 @@ }, data() { return { - id: 'CUserSignatureCanvas' + Date.now() + parseInt(Math.random() * 10000), - cavWidth: 1000, - cavHeight: 1600, + // id: 'CUserSignatureCanvas' + Date.now() + parseInt(Math.random() * 10000), + // cavWidth: 1000, + // cavHeight: 1600, }; }, computed: {}, @@ -90,6 +90,9 @@ const blob = new Blob([u8arr], { type: mime }); return URL.createObjectURL(blob); }, + $startEdit() { + this.handleStartEdit(); + }, $uploadImage(callback) { const file = { url: this.itemRes.formData[this.itemRes.name], -- Gitblit v1.9.1