This commit is contained in:
yanran200730
2022-11-03 09:52:23 +08:00
parent 1a65407ef7
commit 350e85143a
7 changed files with 16 additions and 13 deletions

View File

@@ -14,12 +14,12 @@
<div class="info">
<div class="info-item">
<h3>积分总额</h3>
<span>{{ user.integral }}</span>
<span>{{ user.integral || 0 }}</span>
<image src="https://cdn.cunwuyun.cn/wxmp/tianfuxing/nav2.png" />
</div>
<div class="info-item">
<h3>积分排名</h3>
<span>{{ user.integralOrder }}</span>
<span>{{ user.integralOrder || 0 }}</span>
<image src="https://cdn.cunwuyun.cn/wxmp/tianfuxing/nav1.png" />
</div>
</div>
@@ -85,7 +85,10 @@
toLogin () {
if (!this.token) {
this.autoLogin()
this.autoLogin().then(() => {
this.getList()
this.getUserInfo()
})
} else {
this.getUserInfo()
}
@@ -94,7 +97,7 @@
getList () {
if (this.isMore) return
this.$instance.post(`/appwechatintegraldetail/list`, null, {
this.$instance.post(`/api/appwechatintegraldetail/list`, null, {
params: {
current: this.current,
size: 10