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