fix(登录): 登录页面-注册 element-ui组件

This commit is contained in:
baiqi 2023-07-17 09:54:39 +08:00 committed by fit2-zhao
parent 32299db163
commit c53f1d3dc2
1 changed files with 4 additions and 1 deletions

View File

@ -15,12 +15,15 @@ import "./micro-app";
import VueShepherd from 'vue-shepherd' // 新手引导 import VueShepherd from 'vue-shepherd' // 新手引导
import './assets/shepherd/shepherd-theme.css' import './assets/shepherd/shepherd-theme.css'
import { gotoCancel, gotoNext } from "./utils"; import { gotoCancel, gotoNext } from "./utils";
import ElementUI from "element-ui";
Vue.config.productionTip = false Vue.config.productionTip = false
const pinia = createPinia() const pinia = createPinia()
pinia.use(PersistedState)//开启缓存存储在localstorage pinia.use(PersistedState)//开启缓存存储在localstorage
Vue.use(ElementUI, {
i18n: (key, value) => i18n.t(key, value)
});
Vue.use(icons); Vue.use(icons);
Vue.use(svg); Vue.use(svg);
Vue.use(plugins); Vue.use(plugins);