diff --git a/src/project/saas/AppNotification/AppNotification.vue b/src/project/saas/AppNotification/AppNotification.vue index c3200cb0..b4396371 100644 --- a/src/project/saas/AppNotification/AppNotification.vue +++ b/src/project/saas/AppNotification/AppNotification.vue @@ -141,6 +141,13 @@ export default { this.injectJWeixin(['sendChatMessage']).then(() => { this.getList(); }) + + uni.$on('refresh', () => { + this.current = 1 + this.status = '加载更多' + + this.getList() + }) }, onReachBottom() { diff --git a/src/project/saas/AppNotification/add.vue b/src/project/saas/AppNotification/add.vue index 780c7c85..36e653d6 100644 --- a/src/project/saas/AppNotification/add.vue +++ b/src/project/saas/AppNotification/add.vue @@ -177,6 +177,7 @@ export default { }).then(res => { if (res.code == 0) { this.$u.toast(status == 1 ? "发布成功" : "保存成功"); + uni.$emit('refresh') uni.navigateBack({}) } })