Browse Source

fix: (noti) api reverst

gemercheung 2 years ago
parent
commit
cb4b617091
1 changed files with 2 additions and 2 deletions
  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,
               title: list.title,
               content: list.content,
               content: list.content,
               onOk: async () => {
               onOk: async () => {
-                await fetchNotice();
                 await readAllApi();
                 await readAllApi();
+                await fetchNotice();
               },
               },
             });
             });
           }
           }
@@ -75,8 +75,8 @@
                 imgList: [list.content],
                 imgList: [list.content],
               }),
               }),
               onOk: async () => {
               onOk: async () => {
-                await fetchNotice();
                 await readAllApi();
                 await readAllApi();
+                await fetchNotice();
               },
               },
             });
             });
           }
           }