|
|
const ver = window.__ver || '';
|
|
|
|
|
|
import global from "./script/global.js";
|
|
|
|
|
|
Promise.all([
|
|
|
import('./store/index.js' + ver),
|
|
|
import('./router/index.js' + ver),
|
...
|
...
|
@@ -7,6 +9,11 @@ Promise.all([ |
|
|
import('./script/global.js' + ver),
|
|
|
import('./script/http.js' + ver),
|
|
|
]).then((res) => {
|
|
|
|
|
|
// 加载皮肤信息
|
|
|
let theme = global.getQueryVariable("theme");
|
|
|
global.loadTheme(theme);
|
|
|
|
|
|
// element plus 切换语言
|
|
|
// https://element-plus.org/zh-CN/guide/i18n.html#configprovider
|
|
|
// 创建vue3的实例
|
...
|
...
|
|