linwenxin 6 ماه پیش
والد
کامیت
c9a950875f
1فایلهای تغییر یافته به همراه8 افزوده شده و 2 حذف شده
  1. 8 2
      src/layout/components/Navbar.vue

+ 8 - 2
src/layout/components/Navbar.vue

@@ -655,7 +655,13 @@ export default {
     toDetail(type, paidType, orderId, id, item) {
       if (this.messageType.includes('WDTZ') || paidType == 'WDTZ') {
         if (item.readFlag == 'NO') {
-          this.read(id)
+          request({
+            url: `/noticeWebsit/mark/readOne`,
+            method: 'post',
+            params: {
+              id: id
+            }
+          }).then(res => {})
         }
         this.$router.push({
           name: 'networkNotification',
@@ -752,7 +758,7 @@ export default {
           url: `/noticeWebsit/mark/readOne`,
           method: 'post',
           params: {
-            noticeIds: id
+            id: id
           }
         }).then(res => {})
       } else {