diff --git a/src/project/police/AppMessageNotification/AppMessageNotification.vue b/src/project/police/AppMessageNotification/AppMessageNotification.vue index cea40045..591d6ae7 100644 --- a/src/project/police/AppMessageNotification/AppMessageNotification.vue +++ b/src/project/police/AppMessageNotification/AppMessageNotification.vue @@ -233,7 +233,9 @@ export default { this.$http.post("/app/pushmessage/addOrUpdate", params).then(res => { if (res?.code == 0) { this.$u.toast('发送成功') - this.back() + setTimeout(() => { + this.back() + }, 500) // this.form = { // content: '', // contentType: 'text', diff --git a/src/project/police/AppPeopleList/Add.vue b/src/project/police/AppPeopleList/Add.vue index 6fe65da3..22bda7b0 100644 --- a/src/project/police/AppPeopleList/Add.vue +++ b/src/project/police/AppPeopleList/Add.vue @@ -257,9 +257,11 @@ export default { if (res.code === 0) { this.$u.toast('新增成功') uni.$emit('reload') - uni.navigateBack({ - delta: 1 - }) + setTimeout(() => { + uni.navigateBack({ + delta: 1 + }) + }, 500) } }).catch((err) => { this.$u.toast(err)