转移副标题的json字符串

This commit is contained in:
aixianling
2022-08-26 10:12:37 +08:00
parent 1938c91e05
commit fc695b80f7

View File

@@ -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]))
},