diff --git a/src/apps/AppMeetingNotice/belongToMe.vue b/src/apps/AppMeetingNotice/belongToMe.vue index 731d0cf4..f8bbbb58 100644 --- a/src/apps/AppMeetingNotice/belongToMe.vue +++ b/src/apps/AppMeetingNotice/belongToMe.vue @@ -64,11 +64,8 @@ export default { }, created() { document.title = "我发起的"; - this.$loading() this.injectJWeixin(['sendChatMessage']).then(() => { this.getList() - }).catch(() => { - this.$hideLoading() }) }, onReachBottom() { @@ -100,16 +97,12 @@ export default { } this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records } - - this.$hideLoading() - }).catch(() => { - this.$hideLoading() }) }, handleClick({id}) { - this.$parent.params = id; - this.$parent.isList = false; - this.$parent.comp = "detail" + uni.navigateTo({ + url: "/apps/meetingNotice/detail?id=" + id + }) }, change(e) { this.index = e diff --git a/src/apps/AppMeetingNotice/detail.vue b/src/apps/AppMeetingNotice/detail.vue index 1427af39..42c6d045 100644 --- a/src/apps/AppMeetingNotice/detail.vue +++ b/src/apps/AppMeetingNotice/detail.vue @@ -222,17 +222,13 @@ if (res && res.data) { this.detail = res.data this.pageShow = true - this.$hideLoading() } }) } }, created() { - this.$loading() this.injectJWeixin(['sendChatMessage']).then(() => { this.getDetail() - }).catch(() => { - this.getDetail() }) }, mounted() {