|
@@ -7,7 +7,7 @@
|
|
|
<view>
|
|
|
<view class="nickname">{{nickname}}</view>
|
|
|
<view>
|
|
|
- <text v-show="user_type===1" class="wddz">网店店主</text>
|
|
|
+ <text v-show="user_type===3" class="wddz">网店店主</text>
|
|
|
<text v-show="user_type===2" class="zgcj">直供厂家</text>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -113,12 +113,12 @@
|
|
|
data() {
|
|
|
return {
|
|
|
balance: '',
|
|
|
- deposit: '',
|
|
|
- user_type: 1,
|
|
|
+ deposit: ''
|
|
|
};
|
|
|
},
|
|
|
computed: mapState({
|
|
|
- nickname: state => state.user.nickname
|
|
|
+ nickname: state => state.user.nickname,
|
|
|
+ user_type: state => state.user.group_id
|
|
|
}),
|
|
|
onNavigationBarButtonTap(e) {
|
|
|
// console.log(e)
|