From fc695b80f7bd0ff02ff9a1bad06d7f368d0140d3 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 26 Aug 2022 10:12:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E7=A7=BB=E5=89=AF=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E7=9A=84json=E5=AD=97=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/oms/apps/develop/AppDeployCustom/add.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project/oms/apps/develop/AppDeployCustom/add.vue b/project/oms/apps/develop/AppDeployCustom/add.vue index f9348958..eff2057c 100644 --- a/project/oms/apps/develop/AppDeployCustom/add.vue +++ b/project/oms/apps/develop/AppDeployCustom/add.vue @@ -248,6 +248,8 @@ export default { if (type == 'mp') { this.form.extra = {tabBar, appId} } else if (type == 'web') { + const {desc} = sysInfo + sysInfo.desc = JSON.parse(desc) this.form.extra = {isSingleService, homePage, hmt, dv, downloadCenter, showTool, helpDoc, customerService, sysInfo} } else if (type == 'wxwork') { this.form.extra = {isSingleService, homePage, hmt} @@ -268,6 +270,8 @@ export default { this.tabBar = values.tabBar || this.tabBar delete values.tabBar } + } else if (v == 'web') { + values?.sysInfo.desc = JSON.stringify(values?.sysInfo.desc) } Object.keys(values).map(e => this.$set(this.form, e, values[e])) },