20260903221055
This commit is contained in:
1 parent
3d4e2c7413
commit
0928437c67
46 files changed
+2121
-1643
No files matched your search
@@ -4,7 +4,7 @@ import 'nprogress/nprogress.css'
|
||||
import DefaultLayout from '@/layouts/DefaultLayout.vue'
|
||||
import { useAuthStore } from '@/stores/auth'
|
||||
import { usePermissionStore } from '@/stores/permissions'
|
||||
import { useLanguagesStore } from '@/stores/languages'
|
||||
import { useI18nStore } from '@/stores/i18n'
|
||||
|
||||
NProgress.configure({ showSpinner: false })
|
||||
|
||||
@@ -149,7 +149,7 @@ router.beforeEach(async (to) => {
|
||||
|
||||
// 业务数据多语言配置(s_i18n_type 语言清单):随权限一并加载,
|
||||
// 供菜单/模块等多语言编辑读取;内部去重、失败不阻断页面
|
||||
const languagesStore = useLanguagesStore()
|
||||
const languagesStore = useI18nStore()
|
||||
await languagesStore.loadLanguages().catch(() => {})
|
||||
|
||||
const moduleId = to.meta.moduleId
|
||||
|
||||
Reference in new issue
Block a user