chao 4 년 전
부모
커밋
464bab9e2a
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      src/main/resources/static/js/base.js

+ 6 - 2
src/main/resources/static/js/base.js

@@ -80,10 +80,14 @@ var globalHead = new Vue({
             window.location.href = "/index.html";
         },
         showGlobalMenu: function(){
-            $("#mGlobalMenu").show().find(".cShow").slideDown(500);
+            if(!isPC){
+                $("#mGlobalMenu").show().find(".cShow").slideDown(500);
+            }
         },
         hideGlobalMenu: function(){
-            $("#mGlobalMenu").hide().find(".cShow").hide();
+            if(!isPC){
+                $("#mGlobalMenu").hide().find(".cShow").hide();
+            }
         }
     },
     created: function () {