From c53f1d3dc250577ccf6a335f5aecede07b77fd89 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 17 Jul 2023 09:54:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=99=BB=E5=BD=95):=20=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2-=E6=B3=A8=E5=86=8C=20element-ui=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framework/sdk-parent/frontend/src/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/sdk-parent/frontend/src/main.js b/framework/sdk-parent/frontend/src/main.js index 568fcfd1a7..0bbfeb6f26 100644 --- a/framework/sdk-parent/frontend/src/main.js +++ b/framework/sdk-parent/frontend/src/main.js @@ -15,12 +15,15 @@ import "./micro-app"; import VueShepherd from 'vue-shepherd' // 新手引导 import './assets/shepherd/shepherd-theme.css' import { gotoCancel, gotoNext } from "./utils"; +import ElementUI from "element-ui"; Vue.config.productionTip = false const pinia = createPinia() pinia.use(PersistedState)//开启缓存,存储在localstorage - +Vue.use(ElementUI, { + i18n: (key, value) => i18n.t(key, value) +}); Vue.use(icons); Vue.use(svg); Vue.use(plugins);