zengyf 2 年 前
コミット
2180b6bece
2 ファイル変更12 行追加0 行削除
  1. 11 0
      src/components/main.vue
  2. 1 0
      src/store/index/index.js

+ 11 - 0
src/components/main.vue

@@ -2664,6 +2664,17 @@ export default {
             }else{
               console.log("进入了标记不为0")
               this.badgeshow=false
+              if(this.$store.state.index==1){
+                let data={
+                  noticetitle:this.noticedata[0].noticetitle,
+                  noticecontent:this.noticedata[0].noticecontent,
+                  insertusername:this.noticedata[0].insertusername,
+                  inserttime:this.noticedata[0].inserttime,
+                  noticeid:this.noticedata[0].noticeId
+                }
+                this.noticedata1=data
+                this.centerDialogVisible=true;
+              }
             }
           }else {
             console.log("进入了标记值为null的值")

+ 1 - 0
src/store/index/index.js

@@ -11,6 +11,7 @@
 import login from './login.js';
 
 const state = {
+  status1:0
 }
 
 const getters = {