From 4944f8d2aec1ebd5eb18afa7b500c0c27edbbade Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期五, 22 三月 2024 16:28:15 +0800 Subject: [PATCH] 功能调整 --- src/components/tool/value-table.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue index 7808696..8bbfbb7 100644 --- a/src/components/tool/value-table.vue +++ b/src/components/tool/value-table.vue @@ -55,11 +55,11 @@ } */ .value-table .highlight-danger-row-border td:first-child { - border-left: 4px solid red; + border-left: 4px solid #f56c6c; } .value-table .highlight-danger-row-border td:last-child { - border-right: 4px solid red; + border-right: 4px solid #f56c6c; } .value-table .el-upload { @@ -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