zhb hai 2 meses
pai
achega
c9c0810e65
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      components/cwg-notice.vue

+ 2 - 3
components/cwg-notice.vue

@@ -14,9 +14,8 @@ function openNotice() {
     uni.$emit('open-notice-drawer')
 }
 const getData = async () => {
-    const res = await newsApi.newsNoticeList({
-        page: { current: 1, row: 10 },
-        lang: locale.value
+    const res = await newsApi.newsNoticeRead({
+        read: 0
     })
     if (res.data && res.code == 200) {
         isRed.value = true