|
@@ -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(); //通知首页,更新已读数据
|
|
|
});
|
|
|
},
|
|
|
/* 查询数据 */
|