zhaoxiaohai 3 年之前
父節點
當前提交
1221231e9b
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      pages/annunciate/details.js

+ 3 - 1
pages/annunciate/details.js

@@ -19,7 +19,6 @@ Page({
         isEvaluate: false
     },
     onLoad(options) {
-        console.log(options.auth)
         let auth = options.auth.split(","),
             dataAuth = '';
         if (auth.includes('团队内部数据分析') && auth.includes('经销商数据分析')) {
@@ -60,6 +59,9 @@ Page({
                 detailsData: res.data,
                 videoList
             });
+            const pages = getCurrentPages(),
+                page = pages[pages.length - 2].route == 'pages/tabbar/home/index' ? pages[pages.length - 2] : pages[pages.length - 3];
+            page.queryNoticeList(); //通知首页,更新已读数据
         });
     },
     /* 查询数据 */