Commit f0fb19d5 by yuzhenWang

未登录数据置空

parent ba6c7788
......@@ -5,8 +5,6 @@
<view
class="avatar"
:style="{backgroundImage: 'url(' + (customerBasicInfo.headPicture || companyLogo) + ')'}"
>
<!-- <image :src="customerBasicInfo.headPicture?customerBasicInfo.headPicture:companyLogo" alt="" mode="widthFix" ></image> -->
</view>
<view class="headerInfo">
<view class="headerTop">
......@@ -230,7 +228,6 @@
},
onShow() {
this.loginType = uni.getStorageSync('loginType')
console.log('this.loginType',this.loginType);
if(this.companyType == '1'){
this.companyLogo='../../static/myteam/Group1633.png';
}else if(this.companyType == '2'){
......@@ -248,6 +245,7 @@
this.queryInfo();
}else {
this.msgTotal = 0
this.customerBasicInfo = {}
}
uni.$on("handClick", res => {
this.customerBasicInfo = res.data
......
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