Parcourir la source

Merge pull request #25 from LZHD/dev

fix: fix bug
啝裳 il y a 3 ans
Parent
commit
497b3c404d
2 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 0
      src/layout/components/tag/index.vue
  2. 0 1
      src/views/system/dict/index.vue

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

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

+ 0 - 1
src/views/system/dict/index.vue

@@ -1,4 +1,3 @@
-.
 <template>
 <template>
   <div class="dict-container">
   <div class="dict-container">
     <!-- 工具栏 -->
     <!-- 工具栏 -->