修复排行
This commit is contained in:
@@ -91,7 +91,6 @@
|
|||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.getList();
|
this.getList();
|
||||||
console.log('onshow...')
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
@@ -99,8 +98,10 @@
|
|||||||
this.timeData = e
|
this.timeData = e
|
||||||
},
|
},
|
||||||
changeType(type) {
|
changeType(type) {
|
||||||
if (this.type !== type) {
|
if (this.type !== type) {
|
||||||
this.type = type;
|
this.lists = [];
|
||||||
|
this.type = type;
|
||||||
|
uni.showLoading({})
|
||||||
this.getList();
|
this.getList();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -118,10 +119,10 @@
|
|||||||
urlRequest = week
|
urlRequest = week
|
||||||
}
|
}
|
||||||
urlRequest().then(res => {
|
urlRequest().then(res => {
|
||||||
this.lists = [];
|
|
||||||
this.lists = res.rand;
|
this.lists = res.rand;
|
||||||
this.page_id = res.page_id;
|
this.page_id = res.page_id;
|
||||||
this.end_timestamp = res.end_timestamp * 1000;
|
this.end_timestamp = res.end_timestamp * 1000;
|
||||||
|
uni.hideLoading()
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
|
|||||||
2
unpackage/dist/dev/app-plus/app-service.js
vendored
2
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user