Pārlūkot izejas kodu

消息页面跳转

chris 3 gadi atpakaļ
vecāks
revīzija
b30da2b72b

+ 1 - 0
src/views/modules/msg-center/announcement.vue

@@ -131,6 +131,7 @@
     },
     watch: {
       listenNotice: function (notice) {
+        if (!notice) return
         this.dataForm.noticeId = notice.noticeId
         this.dataForm.businessId = notice.businessId
         this.queryData()

+ 2 - 0
src/views/modules/msg-center/approve.vue

@@ -149,6 +149,8 @@
     },
     watch: {
       listenNotice: function (notice) {
+        console.log('notice = ' + JSON.stringify(notice))
+        if (!notice) return
         this.dataForm.noticeId = notice.noticeId
         this.dataForm.businessId = notice.businessId
         this.queryData()