소스 검색

fix(tag): fix bug

LZHD 3 년 전
부모
커밋
012e5c9225
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/layout/components/tag/index.vue

+ 1 - 0
src/layout/components/tag/index.vue

@@ -392,6 +392,7 @@ export default {
     onBeforeMount(() => {
       vm = getCurrentInstance();
       st = vm.appContext.app.config.globalProperties.$storage;
+      routerArrays = st.routesInStorage ?? routerArrays;
 
       emitter.on("tagViewsChange", key => {
         if (unref(showTags) === key) return;