30935
This commit is contained in:
@@ -141,6 +141,13 @@ export default {
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
this.getList();
|
||||
})
|
||||
|
||||
uni.$on('refresh', () => {
|
||||
this.current = 1
|
||||
this.status = '加载更多'
|
||||
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
|
||||
onReachBottom() {
|
||||
|
||||
@@ -177,6 +177,7 @@ export default {
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast(status == 1 ? "发布成功" : "保存成功");
|
||||
uni.$emit('refresh')
|
||||
uni.navigateBack({})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user