@cpzxrobot/sdk 1.0.30 → 1.0.31

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.
package/dist/index.js CHANGED
@@ -224,7 +224,7 @@ class Cpzxrobot {
224
224
  }
225
225
  else {
226
226
  //jump to miniapp login page
227
- window.location.href = "https:///login.html";
227
+ window.location.href = "/login.html";
228
228
  }
229
229
  }
230
230
  else {
package/index.ts CHANGED
@@ -258,7 +258,7 @@ export class Cpzxrobot {
258
258
  return;
259
259
  } else {
260
260
  //jump to miniapp login page
261
- window.location.href = "https:///login.html";
261
+ window.location.href = "/login.html";
262
262
  }
263
263
  } else {
264
264
  this.initAxios(baseURL);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {