From 6d7769e61afffca37a53757de67dd4b939fca868 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 28 Nov 2024 10:23:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96wxmpConfig=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E5=A4=84=E7=90=86=E5=8F=8AtabBar=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oms/apps/develop/AppDeployCustom/config/wxmpConfig.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/project/oms/apps/develop/AppDeployCustom/config/wxmpConfig.vue b/project/oms/apps/develop/AppDeployCustom/config/wxmpConfig.vue index 0ec7afbc..c7e23e5b 100644 --- a/project/oms/apps/develop/AppDeployCustom/config/wxmpConfig.vue +++ b/project/oms/apps/develop/AppDeployCustom/config/wxmpConfig.vue @@ -15,8 +15,8 @@ export default { }, watch: { form: { - handler() { - this.$emit("input", this.form) + handler(v) { + this.$emit("input", v) }, deep: true }, @@ -63,6 +63,9 @@ export default { this.tabBar.list.splice(i, 1, this.tabBar.list[i + offset]) this.tabBar.list.splice(i + offset, 1, row) } + }, + created() { + this.tabBar = this.form.tabBar } }