bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user