Commit 813dd6ef by LJM

css

parent d6919da1
Showing with 4 additions and 2 deletions
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="head row bothSide"> <view class="head row bothSide">
<view class="column"> <view class="column">
<text class="t1">{{ company_id == 1 ? '深圳市猎芯科技有限公司' : '深贸电子有限公司' }}</text> <text class="t1">{{ company_id == 1 ? '深圳市猎芯科技有限公司' : '深贸电子有限公司' }}</text>
<view class="row verCenter"> <view class="row verCenter" v-if="info.user_info">
<text class="iconfont icon-juxing"></text> <text class="iconfont icon-juxing"></text>
<text class="t2">{{ info.user_info.name }}</text> <text class="t2">{{ info.user_info.name }}</text>
</view> </view>
...@@ -63,9 +63,11 @@ export default { ...@@ -63,9 +63,11 @@ export default {
info: {} info: {}
}; };
}, },
onLoad() {
this.getData();
},
onShow() { onShow() {
this.company_id = uni.getStorageSync('company_id') || 1; this.company_id = uni.getStorageSync('company_id') || 1;
this.getData();
}, },
methods: { methods: {
getData() { getData() {
......
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 sign in to comment