This commit is contained in:
yanran200730
2022-08-18 15:24:31 +08:00
parent 663d1290b5
commit 938fdc57d8
2 changed files with 8 additions and 0 deletions

View File

@@ -141,6 +141,13 @@ export default {
this.injectJWeixin(['sendChatMessage']).then(() => {
this.getList();
})
uni.$on('refresh', () => {
this.current = 1
this.status = '加载更多'
this.getList()
})
},
onReachBottom() {

View File

@@ -177,6 +177,7 @@ export default {
}).then(res => {
if (res.code == 0) {
this.$u.toast(status == 1 ? "发布成功" : "保存成功");
uni.$emit('refresh')
uni.navigateBack({})
}
})