Fix #5338
This commit is contained in:
parent
ff52ea2a7c
commit
72b32df2b7
|
@ -35,7 +35,9 @@ export default Vue.extend({
|
||||||
mounted() {
|
mounted() {
|
||||||
//#region for Safari bug
|
//#region for Safari bug
|
||||||
if (this.$refs.grid) {
|
if (this.$refs.grid) {
|
||||||
this.$refs.grid.style.height = this.$refs.grid.clientHeight ? `${this.$refs.grid.clientHeight}px` : '128px';
|
if (this.$refs.grid.clientHeight) {
|
||||||
|
this.$refs.grid.style.height = this.$refs.grid.clientHeight;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//#endregion
|
//#endregion
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue