crh-jssdk 1.0.27 → 1.0.28
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.
|
@@ -64,6 +64,7 @@ var actionMap = {
|
|
|
64
64
|
window.MyWebView.onJsOverrideUrlLoading(str);
|
|
65
65
|
}
|
|
66
66
|
else if (window.HarmonyOS && window.HarmonyOS.onJsOverrideUrlLoading) {
|
|
67
|
+
console.log("HarmonyOS.onJsOverrideUrlLoading: ".concat(str));
|
|
67
68
|
window.HarmonyOS.onJsOverrideUrlLoading(str);
|
|
68
69
|
}
|
|
69
70
|
else {
|
|
@@ -282,12 +283,6 @@ exports.default = {
|
|
|
282
283
|
*/
|
|
283
284
|
setCollect: function (params) {
|
|
284
285
|
var _this = this;
|
|
285
|
-
if ((0, utils_1.checkIsHarmonyOS)()) {
|
|
286
|
-
return {
|
|
287
|
-
error_no: "-1",
|
|
288
|
-
error_info: "暂不支持该功能",
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
286
|
var sdkParams = {
|
|
292
287
|
productNo: params.productNo,
|
|
293
288
|
productCode: params.productCode,
|
|
@@ -356,12 +351,6 @@ exports.default = {
|
|
|
356
351
|
queryCollect: function (params) {
|
|
357
352
|
var _this = this;
|
|
358
353
|
console.log('queryCollect', params);
|
|
359
|
-
if ((0, utils_1.checkIsHarmonyOS)()) {
|
|
360
|
-
return {
|
|
361
|
-
error_no: "-1",
|
|
362
|
-
error_info: "暂不支持该功能",
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
354
|
var sdkParams = {
|
|
366
355
|
productNo: params.productNo,
|
|
367
356
|
productCode: params.productCode,
|