From 8eda688d375210a18b7d235309123e708b32324b Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 8 Aug 2022 11:06:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E5=BE=AE=E6=8E=A7=E5=88=B6=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E4=B8=BA=E5=8D=95=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/oms/apps/develop/AppDeployCustom/add.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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}) {