xydata-tools 1.0.37 → 1.0.38

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.
@@ -22,10 +22,10 @@ var BothSecurityLayout = function BothSecurityLayout(props) {
22
22
  var pathName = window.location.pathname;
23
23
  useEffect(function () {
24
24
  console.error("构建参数,开发完成,记得删除!");
25
- console.log("ENV_DATA:", envData);
25
+ console.log("ENV_DATA:", JSON.stringify(envData));
26
26
  console.log("service:", service);
27
27
  if (!token) {
28
- if (!AAALOGIN) {
28
+ if (pathName.indexOf("/sso") >= 0 || !AAALOGIN) {
29
29
  envData.sso_type === "new" ? ssoTypeByNew() : ssoTypeByOld();
30
30
  } else {
31
31
  window.location.href = LOGIN_URI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xydata-tools",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "description": "xydata tools",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",