This commit is contained in:
mei23 2019-08-24 05:53:30 +09:00
parent ff52ea2a7c
commit 72b32df2b7
No known key found for this signature in database
GPG Key ID: DD8628500D3E4B23
1 changed files with 3 additions and 1 deletions

View File

@ -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
}, },