优化wxmpConfig组件表单处理及tabBar初始化逻辑
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user