浏览代码

fix empty breadcrumb

Michael Wang 6 年之前
父节点
当前提交
8f2d813499
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/modules/portal/views/home/LinkTitles.vue

+ 1 - 0
src/modules/portal/views/home/LinkTitles.vue

@@ -1,5 +1,6 @@
 <template>
   <el-breadcrumb
+    v-if="currentPaths.length > 0"
     separator-class="el-icon-arrow-right"
     style="border-bottom: 1px solid #aaa; padding-bottom: 5px;"
   >