From e24a27f00d807c9b6c75bb9c8ce42813b61e0c64 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Tue, 20 Jan 2026 10:58:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86][upd?= =?UTF-8?q?ate]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Template/CustomTable.vue | 6 +++--- src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Template/CustomTable.vue b/src/components/Template/CustomTable.vue index 354bee2..847c6d4 100644 --- a/src/components/Template/CustomTable.vue +++ b/src/components/Template/CustomTable.vue @@ -132,7 +132,7 @@ export default { }, showAddRow: { type: Boolean, - default: true, + default: undefined, }, // 是否显示操作栏 showOperation: { @@ -215,8 +215,8 @@ export default { this.$emit("clickable", col,rowIndex) }, isShowAddRos() { - if(!this.showAddRow) { - return false; + if(this.showAddRow !== undefined){ + return this.showAddRow } return this.templateFillType === 'preFill'; }, diff --git a/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue b/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue index e6565a1..f171300 100644 --- a/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue @@ -16,7 +16,7 @@