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