Commit 3741c65d authored by zhengke's avatar zhengke

修改

parent 7f56c1d6
...@@ -349,11 +349,15 @@ ...@@ -349,11 +349,15 @@
this.secondary = this.$uiConfig.secondary; this.secondary = this.$uiConfig.secondary;
this.mall_UserInfo = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo"):null; this.mall_UserInfo = uni.getStorageSync("mall_UserInfo")?uni.getStorageSync("mall_UserInfo"):null;
}, },
onLoad(options) { onLoad(options) {
if(options && options.UserId){ if(options && options.UserId){
this.UserId = options.UserId this.UserId = options.UserId
this.init() this.init()
this.isShowBtn=false if(this.UserId!=this.mall_UserInfo.UserId){
this.isShowBtn=false;
}else{
this.isShowBtn=true;
}
} }
}, },
onShow() { onShow() {
......
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