xydata-tools 1.1.32 → 1.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -227,6 +227,7 @@ var removeSessionData = function removeSessionData() {
227
227
  removeSessionStorage('Token');
228
228
  removeSessionStorage('sso_redirect_url');
229
229
  };
230
+ var aaaLoginUrl = null;
230
231
 
231
232
  // ========== 组件定义 ==========
232
233
 
@@ -244,7 +245,7 @@ var XyAuthLayout = function XyAuthLayout(props) {
244
245
  var loginType = envData.login_type || 'BOTH';
245
246
  var pathName = window.location.pathname;
246
247
  var loginId = getQueryVariable('loginId');
247
- var aaaLoginUrl = envData.parent_login_url || "".concat(window.publicPath || '/', "user/login");
248
+ aaaLoginUrl = envData.parent_login_url || "".concat(window.publicPath || '/', "user/login");
248
249
  useEffect(function () {
249
250
  if (!token && !(loginId && ['BOTH', 'AAA'].includes(loginType))) {
250
251
  // 当登录方式为SSO_NEW或BOTH时,可在路径加上sso进行统一登陆,当登录方式固定为SSO或SSO_NEW时,直接跳转到SSO登录
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xydata-tools",
3
- "version": "1.1.32",
3
+ "version": "1.1.33",
4
4
  "description": "xydata tools",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",