diff --git a/696.5823b33e.async.js b/696.afb5fa33.async.js
similarity index 99%
rename from 696.5823b33e.async.js
rename to 696.afb5fa33.async.js
index ae5b6ff2cc..a67e931c27 100644
--- a/696.5823b33e.async.js
+++ b/696.afb5fa33.async.js
@@ -1397,7 +1397,6 @@ var User_excluded = ["homePage", "user", "globalSetting", "loading", "dispatch",
-
var getCookie = function getCookie(key) {
var arr,
reg = RegExp('(^| )' + key + '=([^;]+)(;|$)');
@@ -1624,31 +1623,21 @@ var User = function User(_ref) {
})
});
} else {
- var _globalSetting$settin4;
- return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "font15 ".concat(globalSetting.isIlearning ? Usermodules.login : ""),
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "ml10 mr5 current c-white",
onClick: function onClick() {
- dispatch({
- type: 'user/showPopLogin',
- payload: {
- showPopLogin: true,
- showClosable: true
- }
- });
+ var _globalSetting$settin4;
+ if (globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin4 = globalSetting.setting) !== null && _globalSetting$settin4 !== void 0 && _globalSetting$settin4.atomgit_authorize_url) {
+ var _globalSetting$settin5;
+ window.location.href = globalSetting === null || globalSetting === void 0 || (_globalSetting$settin5 = globalSetting.setting) === null || _globalSetting$settin5 === void 0 ? void 0 : _globalSetting$settin5.atomgit_authorize_url;
+ } else {
+ message/* default */.ZP.warning("请配置登录地址");
+ }
},
children: "\u767B\u5F55"
- }), !((_globalSetting$settin4 = globalSetting.setting) !== null && _globalSetting$settin4 !== void 0 && _globalSetting$settin4.close_register) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- className: "ml5 mr5",
- children: "|"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
- to: "/user/register",
- className: "ml5 current c-white pr25",
- children: "\u6CE8\u518C"
- })]
- })]
+ })
});
}
};
diff --git a/index.html b/index.html
index a98f731677..1cf07d415a 100644
--- a/index.html
+++ b/index.html
@@ -27,7 +27,7 @@
display: block !important;
}
-
+