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 @@
-