手动触发
This commit is contained in:
@@ -69,10 +69,18 @@ export default {
|
||||
},
|
||||
refreshList() {
|
||||
this.$nextTick(() => this.$refs.list.getData())
|
||||
},
|
||||
refreshTally() {
|
||||
this.$http.post('/app/appwxcpopenstatistics/tally').then(res=> {
|
||||
if(res.code == 0) {
|
||||
console.log('手动触发成功');
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
this.refreshTally()
|
||||
},
|
||||
onShow() {
|
||||
document.title = "数据统计"
|
||||
|
||||
Reference in New Issue
Block a user