crh-jssdk 1.0.55 → 1.0.56
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.
|
@@ -133,7 +133,7 @@ exports.default = {
|
|
|
133
133
|
*/
|
|
134
134
|
goWebview: function (params) {
|
|
135
135
|
return __awaiter(this, void 0, void 0, function () {
|
|
136
|
-
var url, _a, needTitle, isWt, _b, isCfcaMode, gotoUrl, error_3;
|
|
136
|
+
var url, _a, needTitle, isWt, _b, isCfcaMode, gotoUrl, gotoUrl, error_3;
|
|
137
137
|
return __generator(this, function (_c) {
|
|
138
138
|
switch (_c.label) {
|
|
139
139
|
case 0:
|
|
@@ -155,7 +155,11 @@ exports.default = {
|
|
|
155
155
|
case 5:
|
|
156
156
|
console.log('---ios');
|
|
157
157
|
if (!utils_1.ios) return [3 /*break*/, 6];
|
|
158
|
-
|
|
158
|
+
gotoUrl = "client://hxsecurity.frame.router/5032?url=".concat(encodeURIComponent(url), "&rp_flag_push_to_stack_directly=1&isHiddenNavigationBar=1&isHiddenBottomBar=1&isNeedWtLogin=1");
|
|
159
|
+
if (isCfcaMode) {
|
|
160
|
+
gotoUrl += '&isCfcaMode=1';
|
|
161
|
+
}
|
|
162
|
+
window.location.href = gotoUrl;
|
|
159
163
|
return [2 /*return*/];
|
|
160
164
|
case 6:
|
|
161
165
|
gotoUrl = "client.html?action=ymtz^webid=9995^url=".concat(url, "^isHiddenNavigationBar=").concat(needTitle ? 1 : 0, "^isHiddenBottomBar=1^isNeedWtLogin=1");
|