diff --git a/project/oms/apps/develop/AppDeployCustom/add.vue b/project/oms/apps/develop/AppDeployCustom/add.vue index 0ed1b60a..7ae5350f 100644 --- a/project/oms/apps/develop/AppDeployCustom/add.vue +++ b/project/oms/apps/develop/AppDeployCustom/add.vue @@ -56,6 +56,11 @@ + @@ -153,9 +158,11 @@ export default { submit() { this.$refs.AddForm.validate(v => { if (v) { - const {tabBar, appId, form: {type}} = this + const {tabBar, form: {type, appId, isSingleService}} = this if (type == 'mp') { this.form.extra = {tabBar, appId} + } else if (v == 'wxwork') { + this.form.extra = {isSingleService} } this.instance.post("/node/custom/addOrUpdate", this.form).then(res => { if (res?.code == 0) { @@ -170,6 +177,8 @@ export default { if (v == 'mp') { this.form.appId = data.appId this.tabBar = data?.tabBar || this.tabBar + } else if (v == 'wxwork') { + this.form.isSingleService = data.isSingleService } }, handleTabbarChange(row, {name, label}) {