From 9a514cf89723964c24a72db70a9e9b08b017b6a9 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sun, 20 Oct 2024 21:24:16 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E5=B1=8F=E8=94=BD=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=9A=84=E6=89=B9=E9=87=8F=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/config/index.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index facf29e..bc48eaf 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -34,10 +34,10 @@
新增 - 删除 - + + + +
@@ -51,7 +51,7 @@ @select="handleSelect" v-tabh > - + @@ -247,6 +247,9 @@ const handleSubmit = async (instance) => { } }) } else { + if(form.value.configType==1){ + delete form.value.extraConfigType + } editConfig(form.value).then(res => { if (res.code === 1000) { ElMessage.success(res.msg) @@ -274,6 +277,7 @@ const handleEdit = async (configId) => { restFrom() getConfigDetails(configId).then(res => { if (res.code === 1000) { + res.data.configType= res.data.configType+'' form.value = res.data title.value = "编辑参数配置表" isVisited.value = true