xydata-tools 1.0.40 → 1.0.41

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.
@@ -26,6 +26,7 @@ var BothSecurityLayout = function BothSecurityLayout(props) {
26
26
  console.log("service:", service);
27
27
  if (!token) {
28
28
  if (pathName.indexOf("/sso") >= 0 || !AAALOGIN) {
29
+ setSessionStorage("r", window.location.href);
29
30
  envData.sso_type === "new" ? ssoTypeByNew() : ssoTypeByOld();
30
31
  } else {
31
32
  window.location.href = LOGIN_URI;
@@ -111,7 +112,6 @@ var BothSecurityLayout = function BothSecurityLayout(props) {
111
112
  });
112
113
  };
113
114
  var fetchSSO = function fetchSSO() {
114
- setSessionStorage("r", window.location.href);
115
115
  fetch("/auth/sso", {
116
116
  headers: {
117
117
  SID: SID,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xydata-tools",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "xydata tools",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",