diff --git a/5982.58fbf21c.async.js b/5982.a4862522.async.js
similarity index 99%
rename from 5982.58fbf21c.async.js
rename to 5982.a4862522.async.js
index 8d8d06cf1b..ea327973ef 100644
--- a/5982.58fbf21c.async.js
+++ b/5982.a4862522.async.js
@@ -2088,7 +2088,8 @@ var HeaderComponents = function HeaderComponents(_ref) {
}, [globalSetting.name]);
(0,_react_17_0_2_react.useEffect)(function () {
if (shixunHomeworks.actionTabs.key === '底部弹窗') {
- if (Header_showLinks !== null && Header_showLinks !== void 0 && Header_showLinks.includes(location === null || location === void 0 ? void 0 : location.pathname) || (location === null || location === void 0 ? void 0 : location.pathname.indexOf('/classrooms')) === 0) {} else {
+ var _location$pathname;
+ if (Header_showLinks !== null && Header_showLinks !== void 0 && Header_showLinks.includes(location === null || location === void 0 ? void 0 : location.pathname) || (location === null || location === void 0 || (_location$pathname = location.pathname) === null || _location$pathname === void 0 ? void 0 : _location$pathname.indexOf('/classrooms')) === 0) {} else {
dispatch({
type: 'shixunHomeworks/setActionTabs',
payload: {
@@ -2130,8 +2131,8 @@ var HeaderComponents = function HeaderComponents(_ref) {
}
var hasMatchedUrl = false;
(_visibleNavBar2 = visibleNavBar) === null || _visibleNavBar2 === void 0 || _visibleNavBar2.map(function (val, key) {
- 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]);
+ var _location$pathname2, _val$link, _val$subitem;
+ var path = '/' + ((_location$pathname2 = location.pathname) === null || _location$pathname2 === void 0 || (_location$pathname2 = _location$pathname2.split('/')) === null || _location$pathname2 === void 0 ? void 0 : _location$pathname2[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));
@@ -2272,8 +2273,8 @@ var HeaderComponents = function HeaderComponents(_ref) {
};
var dealStr = function dealStr() {
var str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
- if (str.indexOf('<') > -1) {
- return str.slice(0, str.indexOf('<'));
+ if ((str === null || str === void 0 ? void 0 : str.indexOf('<')) > -1) {
+ return str === null || str === void 0 ? void 0 : str.slice(0, str === null || str === void 0 ? void 0 : str.indexOf('<'));
}
return str;
};
diff --git a/index.html b/index.html
index e0bf252c30..f9dbe5ff25 100644
--- a/index.html
+++ b/index.html
@@ -26,7 +26,7 @@
display: block !important;
}
-
+