修改通知公告

This commit is contained in:
wanglei
2021-11-24 10:34:29 +08:00
parent 236cf85586
commit 61ca40863c
2 changed files with 8 additions and 3 deletions

View File

@@ -91,11 +91,12 @@
} }
}, },
onLoad(opt) { created() {
if(opt.id){ const {id} = this.$route.query
if(id){
this.comp = "detail"; this.comp = "detail";
this.params = { this.params = {
id: opt.id, id,
flag: true flag: true
}; };
this.showList = false; this.showList = false;

View File

@@ -74,6 +74,10 @@
created() { created() {
this.getDetail(); this.getDetail();
}, },
mounted() {
document.title = "公告详情";
},
methods: { methods: {
...mapActions(['previewFile', 'injectJWeixin']), ...mapActions(['previewFile', 'injectJWeixin']),
preFile(e) { preFile(e) {