crh-jssdk 1.0.39 → 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.
@@ -149,4 +149,21 @@ exports.default = {
149
149
  });
150
150
  });
151
151
  },
152
+ /**
153
+ * 在app内打开浏览器
154
+ * @param url 浏览器地址
155
+ */
156
+ doOpenBrowser: function (url) {
157
+ return __awaiter(this, void 0, void 0, function () {
158
+ return __generator(this, function (_a) {
159
+ if (utils_1.ios) {
160
+ window.location.href = "objc://updateApp/$?" + url;
161
+ }
162
+ else if (window.jtoJHandle) {
163
+ window.jtoJHandle.updateApp('2', url);
164
+ }
165
+ return [2 /*return*/];
166
+ });
167
+ });
168
+ }
152
169
  };
@@ -351,7 +351,7 @@ exports.default = {
351
351
  });
352
352
  }
353
353
  else {
354
- this.businessAlertView("http://action:218/?target=2", "");
354
+ this.businessAlertView("winner://secTrade/bankTransfer/home/in?tradeType=1&loginType=3", "");
355
355
  }
356
356
  return [2 /*return*/];
357
357
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crh-jssdk",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "crh-jssdk",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {