修改获取路由方法

This commit is contained in:
Tao-826 2025-07-28 09:15:53 +08:00
parent 5464b91084
commit 17acb8b651
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
import { GetLoginResourceTree } from '@/api/common/index'
import { GetLoginResourceTree } from '@/api/system/index'
import router, { constantRoutes } from '@/router'
const modules = import.meta.glob('../views/**/index.vue')
const layoutModule = import.meta.glob('../components/layouts/defaultLayout.vue')