浏览代码

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

cyy 1 年之前
父节点
当前提交
a644beb819
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {
     showNewIcon(date, days) {
       const nowDate = new Date().getTime()
       const nowDate = new Date().getTime()
       const targetDate = new Date(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'
     }
     }
   }
   }
 }
 }