25393 25392

This commit is contained in:
wanglei
2021-12-13 14:33:12 +08:00
parent 8c5316db07
commit da7d851d1a
2 changed files with 3 additions and 14 deletions

View File

@@ -64,11 +64,8 @@ export default {
}, },
created() { created() {
document.title = "我发起的"; document.title = "我发起的";
this.$loading()
this.injectJWeixin(['sendChatMessage']).then(() => { this.injectJWeixin(['sendChatMessage']).then(() => {
this.getList() this.getList()
}).catch(() => {
this.$hideLoading()
}) })
}, },
onReachBottom() { onReachBottom() {
@@ -100,16 +97,12 @@ export default {
} }
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
} }
this.$hideLoading()
}).catch(() => {
this.$hideLoading()
}) })
}, },
handleClick({id}) { handleClick({id}) {
this.$parent.params = id; uni.navigateTo({
this.$parent.isList = false; url: "/apps/meetingNotice/detail?id=" + id
this.$parent.comp = "detail" })
}, },
change(e) { change(e) {
this.index = e this.index = e

View File

@@ -222,17 +222,13 @@
if (res && res.data) { if (res && res.data) {
this.detail = res.data this.detail = res.data
this.pageShow = true this.pageShow = true
this.$hideLoading()
} }
}) })
} }
}, },
created() { created() {
this.$loading()
this.injectJWeixin(['sendChatMessage']).then(() => { this.injectJWeixin(['sendChatMessage']).then(() => {
this.getDetail() this.getDetail()
}).catch(() => {
this.getDetail()
}) })
}, },
mounted() { mounted() {