crh-jssdk 1.0.52 → 1.0.54

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.
@@ -155,7 +155,7 @@ exports.default = {
155
155
  case 5:
156
156
  console.log('---ios');
157
157
  if (!utils_1.ios) return [3 /*break*/, 6];
158
- window.location.href = "client://hxsecurity.frame.router/5032?url=".concat(url, "&rp_flag_push_to_stack_directly=1&isHiddenNavigationBar=1&isHiddenBottomBar=1&isNeedWtLogin=1");
158
+ window.location.href = "client://hxsecurity.frame.router/5032?url=".concat(encodeURIComponent(url), "&rp_flag_push_to_stack_directly=1&isHiddenNavigationBar=1&isHiddenBottomBar=1&isNeedWtLogin=1");
159
159
  return [2 /*return*/];
160
160
  case 6:
161
161
  gotoUrl = "client.html?action=ymtz^webid=9995^url=".concat(url, "^isHiddenNavigationBar=").concat(needTitle ? 1 : 0, "^isHiddenBottomBar=1^isNeedWtLogin=1");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crh-jssdk",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "description": "crh-jssdk",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {