소스 검색

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

Book Pauk 6 년 전
부모
커밋
3f52e78841
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      client/components/Reader/Reader.vue

+ 5 - 3
client/components/Reader/Reader.vue

@@ -522,9 +522,11 @@ class Reader extends Vue {
     }
 
     async showClickMapPage() {
-        this.clickMapActive = true;
-        await this.$refs.clickMapPage.slowDisappear();
-        this.clickMapActive = false;
+        if (!this.clickMapActive) {
+            this.clickMapActive = true;
+            await this.$refs.clickMapPage.slowDisappear();
+            this.clickMapActive = false;
+        }
     }
 
     get activePage() {