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 } }