From 3bd55592b33a86c8b0dce21a9e8ea6126b9c2d94 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期五, 21 三月 2025 10:36:44 +0800 Subject: [PATCH] Merge branch 'dev' --- src/views/flowable/task/myProcess/send/index.vue | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/views/flowable/task/myProcess/send/index.vue b/src/views/flowable/task/myProcess/send/index.vue index 706f2c2..e50e92b 100644 --- a/src/views/flowable/task/myProcess/send/index.vue +++ b/src/views/flowable/task/myProcess/send/index.vue @@ -343,7 +343,14 @@ this.$prompt('澶囨敞璇存槑', '纭畾瑕佸缂烘浠诲姟鍚�', { confirmButtonText: '纭畾', cancelButtonText: '鍙栨秷', - inputType: 'textarea' + inputType: 'textarea', + inputValidator: (value) => { + if (!value || value.trim() === '') { + return "璇峰~鍐欏娉ㄨ鏄�" + } + return true + }, + inputErrorMessage: '璇峰~鍐欏娉ㄨ鏄�' }).then(({ value }) => { let waitForm = { taskId: this.taskId, @@ -367,9 +374,14 @@ this.$prompt('澶囨敞璇存槑', '纭畾瑕佽烦杩囨浠诲姟鍚�', { confirmButtonText: '纭畾', cancelButtonText: '鍙栨秷', - inputType: 'textarea' - // inputPattern: /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/, - // inputErrorMessage: '閭鏍煎紡涓嶆纭�' + inputType: 'textarea', + inputValidator: (value) => { + if (!value || value.trim() === '') { + return "璇峰~鍐欏娉ㄨ鏄�" + } + return true + }, + inputErrorMessage: '璇峰~鍐欏娉ㄨ鏄�' }).then(({ value }) => { let jumpForm = { taskId: this.taskId, -- Gitblit v1.8.0