Parcourir la source

2023-02-24 update

1. fix menu在导航栏移入时也会触发展现的问题
moccus il y a 2 ans
Parent
commit
732d861d91
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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()
       }
     },