소스 검색

2023-02-24 update

1. fix menu在导航栏移入时也会触发展现的问题
moccus 2 년 전
부모
커밋
732d861d91
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -383,7 +383,7 @@ export default {
       this.root = data.id;
     },
     funAppMove(e){ //1.481vh
-      if (e.clientX <= 1.481*(window.innerWidth/100)) {
+      if (e.clientX <= 1.481*(window.innerHeight/100) && e.clientY >= 4.63*(window.innerHeight/100)) {
         this.showMenu()
       }
     },