|
@@ -2,6 +2,7 @@
|
|
|
<scroll-view scroll-y class="content">
|
|
|
<div class="user">
|
|
|
<van-cell
|
|
|
+
|
|
|
center
|
|
|
:value="userInfo.nickName ? userInfo.nickName : '新用户'"
|
|
|
|
|
@@ -15,7 +16,7 @@
|
|
|
<image class="user-headImg" v-else :src="unLoginHead"></image>
|
|
|
</view>
|
|
|
</van-cell>
|
|
|
- <van-cell
|
|
|
+ <!-- <van-cell
|
|
|
title="资料下载"
|
|
|
is-link
|
|
|
@click="goVipPath('/otherPages/pdfList/index')"
|
|
@@ -24,7 +25,7 @@
|
|
|
<template #icon>
|
|
|
<m-icon type="fkbz" class="cell-icon" />
|
|
|
</template>
|
|
|
- </van-cell>
|
|
|
+ </van-cell> -->
|
|
|
<!-- <van-cell title="我要提现" value="" is-link center @click="goCashOut">
|
|
|
</van-cell> -->
|
|
|
<!-- <van-cell title="我的下级" value="" is-link center @click="goMyBranch">
|
|
@@ -126,6 +127,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.$store.dispatch("GetInfo");
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
goVipPath(url) {
|
|
@@ -146,14 +148,14 @@ export default {
|
|
|
desc: "业务需要",
|
|
|
success(res) {
|
|
|
console.log(res);
|
|
|
- api.user
|
|
|
- .userInfoUserInfo({
|
|
|
- headImage: res.userInfo.avatarUrl,
|
|
|
- nickName: res.userInfo.nickName,
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- that.$store.dispatch("GetInfo");
|
|
|
- });
|
|
|
+ // api.user
|
|
|
+ // .userInfoUserInfo({
|
|
|
+ // headImage: res.userInfo.avatarUrl,
|
|
|
+ // nickName: res.userInfo.nickName,
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // that.$store.dispatch("GetInfo");
|
|
|
+ // });
|
|
|
},
|
|
|
});
|
|
|
|