Browse Source

fix 前端路由重复 warning 问题

冷冷 5 năm trước cách đây
mục cha
commit
70e9e046b8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/page/index/sidebar/sidebarItem.vue

+ 1 - 1
src/page/index/sidebar/sidebarItem.vue

@@ -119,7 +119,7 @@ export default {
           src: item[this.pathKey]
         }),
         query: item.query
-      })
+      }).catch(() => {})
     }
   }
 }