فهرست منبع

fix: (noti) api reverst

gemercheung 2 سال پیش
والد
کامیت
cb4b617091
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/layouts/default/header/components/notify/index.vue

+ 2 - 2
src/layouts/default/header/components/notify/index.vue

@@ -62,8 +62,8 @@
               title: list.title,
               content: list.content,
               onOk: async () => {
-                await fetchNotice();
                 await readAllApi();
+                await fetchNotice();
               },
             });
           }
@@ -75,8 +75,8 @@
                 imgList: [list.content],
               }),
               onOk: async () => {
-                await fetchNotice();
                 await readAllApi();
+                await fetchNotice();
               },
             });
           }