sadais-piui 1.2.7-beta115 → 1.2.7-beta117
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.
|
@@ -413,7 +413,7 @@ export default {
|
|
|
413
413
|
},
|
|
414
414
|
getFieldValue(obj, keypath) {
|
|
415
415
|
if (obj) {
|
|
416
|
-
return keypath.split('
|
|
416
|
+
return keypath.split('-').reduce((prev, key) => {
|
|
417
417
|
let tmpKey = key
|
|
418
418
|
if (/^\[\d+\]$/.test(key)) {
|
|
419
419
|
tmpKey = tmpKey.slice(1, -1)
|
package/package.json
CHANGED
package/scss/mixin.scss
CHANGED
|
@@ -24,23 +24,23 @@
|
|
|
24
24
|
// full-height $include-tabbar: 高度是否包含tabbar
|
|
25
25
|
@mixin full-height($include-tabbar: false) {
|
|
26
26
|
@if $include-tabbar {
|
|
27
|
-
height:
|
|
27
|
+
height: 99.99vh;
|
|
28
28
|
|
|
29
29
|
/* #ifdef H5 */
|
|
30
30
|
|
|
31
31
|
/* 修复safari下100vh不生效的问题 */
|
|
32
|
-
height: calc(var(--vh, 1vh) *
|
|
32
|
+
height: calc(var(--vh, 1vh) * 99.99);
|
|
33
33
|
|
|
34
34
|
/* #endif */
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
@else {
|
|
38
|
-
height: calc(
|
|
38
|
+
height: calc(99.99vh - var(--window-bottom));
|
|
39
39
|
|
|
40
40
|
/* #ifdef H5 */
|
|
41
41
|
|
|
42
42
|
/* 修复safari下100vh不生效的问题 */
|
|
43
|
-
height: calc(var(--vh, 1vh) *
|
|
43
|
+
height: calc(var(--vh, 1vh) * 99.99 - var(--window-bottom));
|
|
44
44
|
|
|
45
45
|
/* #endif */
|
|
46
46
|
}
|