优化wxmpConfig组件tabBar过滤逻辑
This commit is contained in:
@@ -22,7 +22,8 @@ export default {
|
|||||||
},
|
},
|
||||||
tabBar: {
|
tabBar: {
|
||||||
deep: true, handler(v) {
|
deep: true, handler(v) {
|
||||||
this.$set(this.form, "tabBar", v.filter(e => !!e.pagePath) || [])
|
this.tabBar.list = this.tabBar.list.filter(e => !!e.pagePath) || []
|
||||||
|
this.$set(this.form, "tabBar", v)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user