li.shaoyi 3 年 前
コミット
840cb5867b
1 ファイル変更3 行追加11 行削除
  1. 3 11
      src/layout/components/menu.vue

+ 3 - 11
src/layout/components/menu.vue

@@ -1,12 +1,5 @@
 <template>
-  <a-menu
-    theme="dark"
-    mode="inline"
-    class="left-menu"
-    v-model:selectedKeys="selectedKeys"
-    v-model:openKeys="openKeys"
-    @click="menuClick"
-  >
+  <a-menu theme="dark" mode="inline" class="left-menu" v-model:selectedKeys="selectedKeys" v-model:openKeys="openKeys" @click="menuClick">
     <a-sub-menu v-for="item in filterMenu()" :key="item.code">
       <template #title>
         <span>
@@ -104,7 +97,6 @@ export default defineComponent({
           secondeIndex = 0;
         for (let i = 0; i < list.length; i++) {
           for (let j = 0; j < list[i].children.length; j++) {
-            debugger
             if (matched[1].name === 'marketSpot') {
               // 处理动态市场 刷新问题
               if (list[i].children[j].code === 'market_spot') {
@@ -134,9 +126,9 @@ export default defineComponent({
 </script>
 <style lang="less">
 .left-menu_no_bottom {
-  height: calc(100vh - 86px) !important;
+    height: calc(100vh - 86px) !important;
 }
 .left-menu_bottom {
-  height: calc(100vh - 316px) !important;
+    height: calc(100vh - 316px) !important;
 }
 </style>