Browse Source

扫描测试页修改

duy 2 months ago
parent
commit
0bdfd9124c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/test/index.vue

+ 4 - 0
src/test/index.vue

@@ -5,6 +5,7 @@
                 <hc-card scrollbar>
                     <!-- Element Plus 菜单组件 -->
                     <ElMenu
+                        v-if="folderData.length > 0"
                         v-loading="folderLoading"
                         default-active="1-1"
                         class="custom-menu"
@@ -17,6 +18,9 @@
                             <MenuItem :menu-item-data="item" :selected-key-path="selectedKeyPath" />
                         </template>
                     </ElMenu>
+                    <div v-else class="mt-40">
+                        <hc-empty />
+                    </div>
                 </hc-card>
             </template>
             <hc-new-card>