onShow
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
...mapState(['user', 'token']),
|
...mapState(['user', 'token']),
|
||||||
},
|
},
|
||||||
onLoad() {
|
onShow() {
|
||||||
this.getHistoryList()
|
this.getHistoryList()
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
|
|||||||
Reference in New Issue
Block a user