瀏覽代碼

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;