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";
             window.location.href = "/index.html";
         },
         },
         showGlobalMenu: function(){
         showGlobalMenu: function(){
-            $("#mGlobalMenu").show().find(".cShow").slideDown(500);
+            if(!isPC){
+                $("#mGlobalMenu").show().find(".cShow").slideDown(500);
+            }
         },
         },
         hideGlobalMenu: function(){
         hideGlobalMenu: function(){
-            $("#mGlobalMenu").hide().find(".cShow").hide();
+            if(!isPC){
+                $("#mGlobalMenu").hide().find(".cShow").hide();
+            }
         }
         }
     },
     },
     created: function () {
     created: function () {