@gjzq/sdk 1.7.0-beta.2 → 1.7.0
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.
|
@@ -7448,9 +7448,10 @@ function nativeViewParametersGet() {
|
|
|
7448
7448
|
nativeIOOperation(3046, {
|
|
7449
7449
|
checkWebHeight: '1'
|
|
7450
7450
|
}).then(function (res) {
|
|
7451
|
-
var
|
|
7452
|
-
|
|
7453
|
-
|
|
7451
|
+
var result = (res === null || res === void 0 ? void 0 : res.result) || {};
|
|
7452
|
+
var screenHeight = result.screenHeight,
|
|
7453
|
+
webViewHeight = result.webViewHeight;
|
|
7454
|
+
resolve(_assign(_assign({}, result), {
|
|
7454
7455
|
isFull: !!screenHeight && !!webViewHeight && screenHeight === webViewHeight
|
|
7455
7456
|
}));
|
|
7456
7457
|
}).catch(reject);
|
package/dist/index.js
CHANGED
package/dist/pure.js
CHANGED
|
@@ -11,9 +11,10 @@ function nativeViewParametersGet() {
|
|
|
11
11
|
nativeIOOperation(3046, {
|
|
12
12
|
checkWebHeight: '1'
|
|
13
13
|
}).then(function (res) {
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
var result = (res === null || res === void 0 ? void 0 : res.result) || {};
|
|
15
|
+
var screenHeight = result.screenHeight,
|
|
16
|
+
webViewHeight = result.webViewHeight;
|
|
17
|
+
resolve(_assign(_assign({}, result), {
|
|
17
18
|
isFull: !!screenHeight && !!webViewHeight && screenHeight === webViewHeight
|
|
18
19
|
}));
|
|
19
20
|
}).catch(reject);
|