bug
This commit is contained in:
@@ -138,16 +138,8 @@ export default {
|
||||
this.current = 1;
|
||||
document.title = "通知公告";
|
||||
this.$dict.load("announcementStatus");
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
this.getList();
|
||||
})
|
||||
|
||||
uni.$on('refresh', () => {
|
||||
this.current = 1
|
||||
this.status = '加载更多'
|
||||
|
||||
this.getList()
|
||||
})
|
||||
this.injectJWeixin(['sendChatMessage'])
|
||||
this.getList();
|
||||
},
|
||||
|
||||
onReachBottom() {
|
||||
@@ -213,13 +205,13 @@ export default {
|
||||
this.show = true;
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: "/apps/AppNotification/detail?id=" + this.detail.id + "&flag=" + true
|
||||
url: "./detail?id=" + this.detail.id + "&flag=" + true
|
||||
})
|
||||
}
|
||||
},
|
||||
handleAdd() {
|
||||
uni.navigateTo({
|
||||
url: "/apps/AppNotification/add"
|
||||
url: "./add"
|
||||
})
|
||||
},
|
||||
change(val) {
|
||||
|
||||
@@ -177,7 +177,6 @@ export default {
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast(status == 1 ? "发布成功" : "保存成功");
|
||||
uni.$emit('refresh')
|
||||
uni.navigateBack({})
|
||||
}
|
||||
})
|
||||
|
||||
@@ -73,10 +73,9 @@ export default {
|
||||
},
|
||||
|
||||
created() {
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
this.$loading()
|
||||
this.getDetail()
|
||||
})
|
||||
this.$loading()
|
||||
this.getDetail()
|
||||
this.injectJWeixin(['previewFile'])
|
||||
},
|
||||
|
||||
onShow() {
|
||||
|
||||
Reference in New Issue
Block a user