This commit is contained in:
liuye
2024-06-18 11:10:13 +08:00
parent 2a12b0d5fc
commit e631366934
2 changed files with 4 additions and 3 deletions

View File

@@ -103,11 +103,12 @@ export default {
...mapState(['user', 'token']), ...mapState(['user', 'token']),
}, },
onLoad() { onLoad() {
this.getHistoryList()
recorderManager.onStop((res)=> { recorderManager.onStop((res)=> {
this.upLoad(res.tempFilePath) this.upLoad(res.tempFilePath)
}); });
},
onShow() {
this.getHistoryList()
}, },
onPullDownRefresh() { onPullDownRefresh() {
if(this.current > this.pages) { if(this.current > this.pages) {

View File

@@ -60,7 +60,7 @@ export default {
computed: { computed: {
...mapState(['user', 'token']), ...mapState(['user', 'token']),
}, },
onLoad() { onShow() {
this.getHistoryList() this.getHistoryList()
}, },
onPullDownRefresh() { onPullDownRefresh() {