Commit c6681ddd by LJM

css

parent cecd0e81
Showing with 5 additions and 1 deletions
......@@ -7,7 +7,7 @@
</navigator>
<navigator class="iconfont icon-juxing1" url="/user/setting" hover-class="none"></navigator>
</view>
<view class="info row verCenter">
<view class="info row verCenter" v-if="userInfo.user_info">
<text class="t1">欢迎您,{{ userInfo.user_info.mobile }}</text>
<text class="t2 row rowCenter verCenter">个人</text>
</view>
......@@ -124,6 +124,10 @@ export default {
this.request(Api_Url + '/user/getUserType', 'POST', {}, true, true).then(res => {
if (res.err_code === 0) {
this.userInfo = res.data;
} else if (res.err_code === 11012) {
uni.navigateTo({
url: '/login'
});
}
});
}
......
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