diff --git a/26434.fb204f0d.async.js b/26434.a1e3a125.async.js
similarity index 99%
rename from 26434.fb204f0d.async.js
rename to 26434.a1e3a125.async.js
index 7db93ca360..441e632442 100644
--- a/26434.fb204f0d.async.js
+++ b/26434.a1e3a125.async.js
@@ -2154,7 +2154,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
//筛选头部导航数据,学生账号不展示试卷库,hidden为true的需要隐藏
var visibleNavBar = (0,lodash.cloneDeep)(globalSetting === null || globalSetting === void 0 || (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.navbar); //登录跳转不加这个会渲染以前的数据
visibleNavBar = (_visibleNavBar = visibleNavBar) === null || _visibleNavBar === void 0 ? void 0 : _visibleNavBar.filter(function (item) {
- return !(item !== null && item !== void 0 && item.hidden) && !((0,authority/* isCommonStudent */.JA)() && item.link === '/paperlibrary');
+ return !(item !== null && item !== void 0 && item.hidden) && !((0,authority/* isCommonStudent */.JA)() && (item === null || item === void 0 ? void 0 : item.link) === '/paperlibrary');
});
var _iterator = createForOfIteratorHelper_default()(visibleNavBar),
_step;
@@ -2163,7 +2163,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
var visibleItem = _step.value;
if (visibleItem.subitem) {
visibleItem.subitem = visibleItem.subitem.filter(function (item) {
- return !(item !== null && item !== void 0 && item.hidden) && !((0,authority/* isCommonStudent */.JA)() && item.link === '/paperlibrary');
+ return !(item !== null && item !== void 0 && item.hidden) && !((0,authority/* isCommonStudent */.JA)() && (item === null || item === void 0 ? void 0 : item.link) === '/paperlibrary');
});
}
}
@@ -2174,9 +2174,9 @@ var HeaderComponents = function HeaderComponents(_ref) {
}
var hasMatchedUrl = false;
(_visibleNavBar2 = visibleNavBar) === null || _visibleNavBar2 === void 0 || _visibleNavBar2.map(function (val, key) {
- var _location$pathname, _val$subitem;
+ var _location$pathname, _val$link, _val$subitem;
var path = '/' + ((_location$pathname = location.pathname) === null || _location$pathname === void 0 || (_location$pathname = _location$pathname.split('/')) === null || _location$pathname === void 0 ? void 0 : _location$pathname[1]);
- if (val.link === path || val.link.indexOf(path) > -1) {
+ if ((val === null || val === void 0 ? void 0 : val.link) === path || (val === null || val === void 0 || (_val$link = val.link) === null || _val$link === void 0 ? void 0 : _val$link.indexOf(path)) > -1) {
setActiveKey(val === null || val === void 0 ? void 0 : val.link);
(0,util/* setDocumentTitle */.Dk)(dealStr(val === null || val === void 0 ? void 0 : val.name));
setNavBar(footerDeal(key, {
diff --git a/index.html b/index.html
index 25e49c06bc..4610239f3b 100644
--- a/index.html
+++ b/index.html
@@ -26,7 +26,7 @@
display: block !important;
}
-
+