Procházet zdrojové kódy

隐藏公告作者,公告草稿列表去除new标志

cyy před 1 rokem
rodič
revize
a644beb819
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/platform/notice/index.vue

+ 1 - 1
src/views/platform/notice/index.vue

@@ -306,7 +306,7 @@ export default {
     showNewIcon(date, days) {
       const nowDate = new Date().getTime()
       const targetDate = new Date(date).getTime()
-      return targetDate + days * 24 * 60 * 60 * 1000 > nowDate
+      return targetDate + days * 24 * 60 * 60 * 1000 > nowDate && this.tabActive!='drafts'
     }
   }
 }