From a8f575fe6f4440ca62bb2ad850bbc0baf77ded5d Mon Sep 17 00:00:00 2001 From: 三个三 <2029364173@qq.com> Date: 星期日, 02 七月 2023 15:29:28 +0800 Subject: [PATCH] !20 统一登录授权 * 统一授权登录 * 对接后端更改做了适配, * 前端实现切换租户选择第三方授权登录,和优化第三方页面登录注册 --- src/main.ts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main.ts b/src/main.ts index 32d2c45..0ad939a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -30,6 +30,9 @@ import { getConfigKey, updateConfigByKey } from '@/api/system/config'; import { parseTime, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi'; +// 鍥介檯鍖� +import i18n from '@/lang/index'; + const app = createApp(App); // 鍏ㄥ眬鏂规硶鎸傝浇 app.config.globalProperties.useDict = useDict; @@ -46,6 +49,7 @@ app.use(ElementIcons); app.use(router); app.use(store); +app.use(i18n); app.use(plugins); // 鑷畾涔夋寚浠� directive(app); -- Gitblit v1.9.3