From 26b81473abd633c12298dec7c212702b66a69ec7 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 22 三月 2024 14:55:54 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master --- src/components/tool/value-table.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue index 7808696..889071c 100644 --- a/src/components/tool/value-table.vue +++ b/src/components/tool/value-table.vue @@ -340,6 +340,7 @@ uploadDia: false, token: null, fileList: [], + init: true } }, watch: { @@ -355,7 +356,9 @@ mounted() { this.data = this.componentData this.dataCopy = this.HaveJson(this.componentData) - this.selectList() + if(this.data.init===undefined||this.data.init===true){ + this.selectList() + } this.token = { 'token': sessionStorage.getItem('token') } @@ -583,7 +586,7 @@ } } val.field.forEach(a => { - if (JSON.stringify(this.upData[a]) == undefined) { + if (JSON.stringify(this.upData[a]) === undefined) { this.upHead.push({ value: a.split('=')[0], label: a.split('=')[1] -- Gitblit v1.9.3