From a7d9c18fe4d8a12ab898d85e32a83299c04649bd Mon Sep 17 00:00:00 2001 From: luojie <125330818@qq.com> Date: Thu, 22 Jan 2026 19:09:09 +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/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue b/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue index 781ea09..0e83fa6 100644 --- a/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue @@ -202,6 +202,7 @@ export default { } this.$refs[ref][0]?.updateDataSourceByRowIndex(idx,{subTargetSolutionCode: length==1?snList:snList[idx],...expDate}); }); + Promise.resolve(); } } } @@ -210,9 +211,9 @@ export default { }, async handleUpdateCode() { - this.assignNumbersToTableData("paralleConfigs"); - this.assignNumbersToTableData("ladderConfigs"); - this.$nextTick(() => { + Promise.all([this.assignNumbersToTableData("ladderConfigs"),this.assignNumbersToTableData("paralleConfigs") + ]).then(()=>{ + console.log("nextTick") //通知后端保存数据 const params = { type: "fieldChanged",