From c38c879c9a80ce19d0ec6c1dacdb5cd71556d115 Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Tue, 10 Mar 2026 09:37:27 +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 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Template/CustomTable.vue b/src/components/Template/CustomTable.vue index 672beaf..ad03eaa 100644 --- a/src/components/Template/CustomTable.vue +++ b/src/components/Template/CustomTable.vue @@ -575,7 +575,6 @@ export default { // 校验表头的 HandleFormItem this.columns.forEach((col, colIndex) => { - console.log(col.headerColumns, col, "ttt") if (col.headerSelectKey && col.headerOptions && col.fillType === this.templateFillType) { const headerValue = this.headerSelectFields[col.headerSelectKey]; if (isValueEmpty(headerValue)) { @@ -682,11 +681,9 @@ export default { errors.push(errorItem); this.formErrors.push(errorItem); } - // 检查子字段(如果有) - if (col.bodySubKey && !col.bodySubDisabled && col.bodySubType !== 'span' && col.bodySubType !== "button") { + if (col.bodySubKey && !col.bodySubDisabled &&col.bodySubFillType === this.templateFillType&& col.bodySubType !== 'span' && col.bodySubType !== "button") { const subValue = row[col.bodySubKey]; - console.log(col, subValue, "subValue") if (isValueEmpty(subValue)) { const errorItem = { rowIndex,