diff --git a/62534.7937fca3.async.js b/62534.c75b1cb6.async.js
similarity index 98%
rename from 62534.7937fca3.async.js
rename to 62534.c75b1cb6.async.js
index 2f06ac8ada..7be072e727 100644
--- a/62534.7937fca3.async.js
+++ b/62534.c75b1cb6.async.js
@@ -383,7 +383,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
var AddPoints_CheckboxGroup = es_checkbox/* default */.Z.Group;
var AddPoints_ShixunsListPage = function ShixunsListPage(_ref) {
- var _user$userInfo2;
+ var _user$userInfo2, _user$userInfo$course;
var classroomList = _ref.classroomList,
loading = _ref.loading,
user = _ref.user,
@@ -482,6 +482,9 @@ var AddPoints_ShixunsListPage = function ShixunsListPage(_ref) {
return _getrz.apply(this, arguments);
}
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ style: {
+ display: (_user$userInfo$course = user.userInfo.course) !== null && _user$userInfo$course !== void 0 && _user$userInfo$course.is_openengineering ? '' : 'none'
+ },
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", {
style: {
fontSize: '16px',
diff --git a/85165.c2a4d4bf.async.js b/85165.e575b893.async.js
similarity index 99%
rename from 85165.c2a4d4bf.async.js
rename to 85165.e575b893.async.js
index 66681b43bb..be7cbc7658 100644
--- a/85165.c2a4d4bf.async.js
+++ b/85165.e575b893.async.js
@@ -1611,7 +1611,7 @@ var User = function User(_ref) {
})
});
} else {
- var _user$userInfo7, _user$userInfo8, _user$userInfo9, _user$userInfo10, _user$userInfo11, _user$userInfo12, _user$userInfo13, _user$userInfo14, _user$userInfo15, _user$userInfo16, _user$userInfo17, _user$userInfo18, _globalSetting$settin10, _globalSetting$settin11, _user$navigationInfo, _user$navigationInfo2, _user$navigationInfo3, _user$navigationInfo4, _user$navigationInfo5, _user$navigationInfo6;
+ var _user$userInfo7, _user$userInfo8, _user$userInfo9, _user$userInfo10, _user$userInfo11, _user$userInfo12, _user$userInfo13, _user$userInfo14, _user$userInfo15, _user$userInfo16, _user$userInfo17, _user$userInfo18, _user$navigationInfo, _user$navigationInfo2, _user$navigationInfo3, _user$navigationInfo4, _user$navigationInfo5, _user$navigationInfo6;
return /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z, {
className: "".concat(Usermodules.rightMenu, " ").concat(Usermodules.menuWrap),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
@@ -1649,7 +1649,7 @@ var User = function User(_ref) {
to: "/users/".concat((_user$userInfo17 = user.userInfo) === null || _user$userInfo17 === void 0 ? void 0 : _user$userInfo17.login, "/vspaces"),
children: "\u6211\u7684\u865A\u62DF\u793E\u533A"
})
- }), ((_user$userInfo18 = user.userInfo) === null || _user$userInfo18 === void 0 ? void 0 : _user$userInfo18.user_identity) !== '学生' && !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin10 = globalSetting.setting) !== null && _globalSetting$settin10 !== void 0 && _globalSetting$settin10.hide_problemset) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
+ }), ((_user$userInfo18 = user.userInfo) === null || _user$userInfo18 === void 0 ? void 0 : _user$userInfo18.user_identity) !== '学生' && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
if (!(0,verifyLogin/* handleVerify */.tJ)(dispatch)) {
@@ -1659,7 +1659,7 @@ var User = function User(_ref) {
},
children: "\u8BD5\u9898\u5E93"
})
- }), isPaperlibraryShow && !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin11 = globalSetting.setting) !== null && _globalSetting$settin11 !== void 0 && _globalSetting$settin11.hide_paperlibrary) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
+ }), isPaperlibraryShow && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
if (!(0,verifyLogin/* handleVerify */.tJ)(dispatch)) {
@@ -1778,7 +1778,7 @@ var User = function User(_ref) {
})
});
} else {
- var _globalSetting$settin12;
+ var _globalSetting$settin10;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "font15 ".concat(globalSetting.isIlearning ? Usermodules.login : ""),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@@ -1793,7 +1793,7 @@ var User = function User(_ref) {
});
},
children: "\u767B\u5F55"
- }), !((_globalSetting$settin12 = globalSetting.setting) !== null && _globalSetting$settin12 !== void 0 && _globalSetting$settin12.close_register) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
+ }), !((_globalSetting$settin10 = globalSetting.setting) !== null && _globalSetting$settin10 !== void 0 && _globalSetting$settin10.close_register) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ml5 mr5",
children: "|"
@@ -2491,27 +2491,13 @@ var HeaderComponents = function HeaderComponents(_ref) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (!((v === null || v === void 0 ? void 0 : v.name) === '工程认证')) {
- _context.next = 9;
+ _context.next = 6;
break;
}
_context.next = 3;
- return (0,service_user/* getEngineerUrl */.IU)({
- tab_module_type: 'engineering'
- });
+ return (0,service_user/* getEngineerUrl */.IU)();
case 3:
res = _context.sent;
- if (!(res !== null && res !== void 0 && res.un_purchased)) {
- _context.next = 7;
- break;
- }
- dispatch({
- type: 'globalSetting/setActionTabs',
- payload: {
- key: '采购提示'
- }
- });
- return _context.abrupt("return");
- case 7:
if (res !== null && res !== void 0 && (_res$data = res.data) !== null && _res$data !== void 0 && _res$data.engineer_url) {
// document.location.href = res?.data?.engineer_url
if (res !== null && res !== void 0 && (_res$data2 = res.data) !== null && _res$data2 !== void 0 && (_res$data2 = _res$data2.engineer_url) !== null && _res$data2 !== void 0 && _res$data2.includes("http")) {
@@ -2523,7 +2509,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
setQQVisible(true);
}
return _context.abrupt("return");
- case 9:
+ case 6:
// if (!v.link || v?.subitem?.length) return
if (v !== null && v !== void 0 && (_v$link = v.link) !== null && _v$link !== void 0 && _v$link.includes("http")) {
(0,util/* openNewWindow */.xg)(v === null || v === void 0 ? void 0 : v.link);
@@ -2542,7 +2528,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
}
});
}
- case 11:
+ case 8:
case "end":
return _context.stop();
}
diff --git a/index.html b/index.html
index e6dd564720..e2c98ed9ee 100644
--- a/index.html
+++ b/index.html
@@ -26,7 +26,7 @@
display: block !important;
}
-
+