From 7a093feafbd24bb96eb1b2429848af092423d7d2 Mon Sep 17 00:00:00 2001 From: shaoyong Date: Tue, 21 May 2024 11:33:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E5=80=BC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/quality/qcIncome/checkProjectType.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue index a747779..4c30e48 100644 --- a/src/views/quality/qcIncome/checkProjectType.vue +++ b/src/views/quality/qcIncome/checkProjectType.vue @@ -392,9 +392,7 @@ export default { }, // 使用nextTick解决循环引用问题 handleResetForm() { - this.$nextTick(() => { - this.dynamicValidateForm.domains = [{ value: ''}]; - }); + this.dynamicValidateForm.domains = [{ value: ''}]; }, // 数据状态修改/Y合格N不合格 @@ -412,11 +410,11 @@ export default { //动态测量值 /** 检测结果钮操作 */ handleShowValue(row) { + this.handleResetForm(); this.valueOpen = true; this.recordId = row.recordId; this.weight = row.weight; const actualValue = row.actualValue; - console.log(actualValue); if(actualValue !== null && actualValue !== '') { this.dynamicValidateForm.domains = []; let values = actualValue.split(",");