From fb671defb5968a37b1e4a938665a6c84aa6358c1 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 21 Apr 2025 11:09:55 +0800 Subject: [PATCH] 1 --- .../attachment/components/SignatureTemplate/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue index 74f5a03c..d921736d 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue @@ -250,6 +250,7 @@ export default { }) if (!confirm) return false let arr = list.filter(item => !item.IsPublish) + if (arr.length <= 0) return false let data = { ids: arr.map(item => item.Id) } @@ -338,6 +339,7 @@ export default { }) .then(() => { let arr = row.filter(item => !item.IsDeleted) + if (arr.length <= 0) return false let data = { Ids: arr.map(item => item.Id) }