@@ -45,21 +45,21 @@
isLoading: false,
- id: this.$route.query.id,
+ id: '',
detail: [],
noticeList: [],
}
},
created() {
-
+ this.id = this.$route.query.id ? this.$route.query.id : '';
methods: {
//获取详情
getDetail(id) {
- var id = id || this.id;
+ this.id = id || this.id;
this.isLoading = true;
- API_Notice.getMessageInfo(id).then(response => {
+ API_Notice.getMessageInfo(this.id).then(response => {
this.detail = response;
@@ -1,6 +1,6 @@
<template>
<div>
- <common @asynCallBack="asynCallBack"></common>
+ <common @asynCallBack="asynCallBack" :projectCheck="false"></common>
<top-header :pageTitle="pageTitle"></top-header>
<div class="mui-content margin60">
<div class="mui-content vongi-xzdw">
<div class="mui-content">
<top-header :pageTitle="pageTitle" :leftShow="false"></top-header>
- <common ref="common" @asynCallBack="asynCallBack"></common>
+ <common ref="common" @asynCallBack="asynCallBack" :projectCheck="false"></common>