소스 검색

Мелкая поправка

Book Pauk 2 년 전
부모
커밋
75773a3e20
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      client/components/Search/SelectGenreDialog/SelectGenreDialog.vue

+ 3 - 2
client/components/Search/SelectGenreDialog/SelectGenreDialog.vue

@@ -89,8 +89,9 @@ class GenreSelectDialog {
     }
 
     async init() {
-        //await this.$refs.dialog.waitShown();
-        //this.$refs.box.style.height = `${document.body.clientHeight - 160}px`;
+        await this.$refs.dialog.waitShown();
+        //чтобы не скакало при поиске
+        this.$refs.box.style.height = `${document.body.clientHeight - 160}px`;
     }
 
     get nodes() {