From c892580371ef4679c858e2da98f71a9345aa3d80 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 08 十二月 2023 10:37:20 +0800 Subject: [PATCH] 代码提交 --- Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue index 3ee51de..e874bdf 100644 --- a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue +++ b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue @@ -376,7 +376,7 @@ </el-option> </el-select> <el-switch - v-if="item.edit === 'switch'" v-model="row[item.prop]" :disabled="!editOpenFlag" active-value="true" v-show="!AddCellFlag" + v-if="item.edit === 'switch'" v-model="row[item.prop]" :disabled="!editOpenFlag" active-value="true" inactive-value="false"> </el-switch> <span v-else>{{ row[item.prop] }}</span> @@ -1718,7 +1718,10 @@ attrTableWidth: 120, ts: "" }) - this.ProData.push(JSON.parse(JSON.stringify(this.busineAddList))) + // 灏嗚嫳鏂囩紪鍙疯浆鎹负灏忓啓 + let { id, ...res } = this.busineAddList; + this.busineAddList = { id: id.toLowerCase(), ...res }; + this.ProData.push(JSON.parse(JSON.stringify(this.busineAddList))); } }) this.addVisible = false; -- Gitblit v1.9.3