diff --git a/56830.8b961d1b.async.js b/56830.c036363f.async.js
similarity index 98%
rename from 56830.8b961d1b.async.js
rename to 56830.c036363f.async.js
index a569851e4c..1ae32e1f19 100644
--- a/56830.8b961d1b.async.js
+++ b/56830.c036363f.async.js
@@ -344,8 +344,6 @@ var Join = __webpack_require__(79687);
var User = __webpack_require__(15278);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
-// EXTERNAL MODULE: ./src/utils/authority.ts
-var authority = __webpack_require__(64118);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/components/HeaderInfo/index.tsx
@@ -362,9 +360,8 @@ var jsx_runtime = __webpack_require__(37712);
-
var headerInfo = function headerInfo(_ref) {
- var _user$userInfo, _user$navigationInfo;
+ var _user$userInfo2, _user$navigationInfo;
var user = _ref.user,
dispatch = _ref.dispatch,
title = _ref.title,
@@ -398,9 +395,10 @@ var headerInfo = function headerInfo(_ref) {
className: HeaderInfomodules.nav_left,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
+ var _user$userInfo;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HeaderInfomodules.menu_style,
- children: [(0,authority/* isLogin */.bg)() && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
+ children: [(user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.student_type) == 'internal_student' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: HeaderInfomodules.menu_item,
onClick: function onClick() {
_umi_production_exports.history.push('/laboratoryOverview');
@@ -453,7 +451,7 @@ var headerInfo = function headerInfo(_ref) {
className: HeaderInfomodules.nav_right,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Join/* default */.Z, {
moreIcon: jia
- }), !!(user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && _user$userInfo.login) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ }), !!(user !== null && user !== void 0 && (_user$userInfo2 = user.userInfo) !== null && _user$userInfo2 !== void 0 && _user$userInfo2.login) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HeaderInfomodules.message_warp,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: xiaoxi,
@@ -462,8 +460,8 @@ var headerInfo = function headerInfo(_ref) {
height: '2vh'
},
onClick: function onClick() {
- var _user$userInfo2;
- _umi_production_exports.history.push("/messages/".concat(user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login, "/user_tidings"));
+ var _user$userInfo3;
+ _umi_production_exports.history.push("/messages/".concat(user === null || user === void 0 || (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.login, "/user_tidings"));
}
}), (user === null || user === void 0 || (_user$navigationInfo = user.navigationInfo) === null || _user$navigationInfo === void 0 || (_user$navigationInfo = _user$navigationInfo.top) === null || _user$navigationInfo === void 0 ? void 0 : _user$navigationInfo.new_message) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: HeaderInfomodules.new_message
diff --git a/index.html b/index.html
index 69b3005316..749ae3b781 100644
--- a/index.html
+++ b/index.html
@@ -27,7 +27,7 @@
display: block !important;
}
-
+