Commit 0b23d765 by 侯体倬

响应式问题处理

parent 82b53bc3
......@@ -81,7 +81,8 @@ export default {
navConHeight = (height + (top - statusBarHeight) * 2);
},
setShopName() {
this.shopName = this.title || wx.getStorageSync("shopName");
this.$set(this, 'shopName', this.title || wx.getStorageSync("shopName"));
this.$forceUpdate();
},
setZIndexStyle() {
this.zIndexStyle = `z-index: ${this.customBgOpacity ? 9991 : 9999};`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment