修复排行
This commit is contained in:
@@ -91,7 +91,6 @@
|
||||
},
|
||||
onShow() {
|
||||
this.getList();
|
||||
console.log('onshow...')
|
||||
},
|
||||
|
||||
methods: {
|
||||
@@ -99,8 +98,10 @@
|
||||
this.timeData = e
|
||||
},
|
||||
changeType(type) {
|
||||
if (this.type !== type) {
|
||||
this.type = type;
|
||||
if (this.type !== type) {
|
||||
this.lists = [];
|
||||
this.type = type;
|
||||
uni.showLoading({})
|
||||
this.getList();
|
||||
}
|
||||
},
|
||||
@@ -118,10 +119,10 @@
|
||||
urlRequest = week
|
||||
}
|
||||
urlRequest().then(res => {
|
||||
this.lists = [];
|
||||
this.lists = res.rand;
|
||||
this.page_id = res.page_id;
|
||||
this.end_timestamp = res.end_timestamp * 1000;
|
||||
this.end_timestamp = res.end_timestamp * 1000;
|
||||
uni.hideLoading()
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
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