crh-jssdk 0.10.37 → 0.10.38
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
|
return __generator(this, function (_a) {
|
|
156
156
|
switch (_a.label) {
|
|
157
157
|
case 0:
|
|
158
|
-
console.log("
|
|
158
|
+
console.log("设置状态栏参数111:", params);
|
|
159
159
|
_a.label = 1;
|
|
160
160
|
case 1:
|
|
161
161
|
_a.trys.push([1, 5, , 6]);
|
|
@@ -167,7 +167,7 @@ exports.default = {
|
|
|
167
167
|
// 根据参考文件,使用setStatusBarState方法
|
|
168
168
|
_a.sent();
|
|
169
169
|
if (!(utils_1.ios && (params === null || params === void 0 ? void 0 : params.wordColorStyle))) return [3 /*break*/, 4];
|
|
170
|
-
style = params.wordColorStyle === 0 ? "light" : "dark";
|
|
170
|
+
style = params.wordColorStyle === '0' ? "light" : "dark";
|
|
171
171
|
return [4 /*yield*/, utils_1.globalBridge.bridgeCallHandler("Promise", "LCStatusBar", {
|
|
172
172
|
style: style,
|
|
173
173
|
})];
|