修改版本信息

This commit is contained in:
邹景立 2022-08-18 12:53:37 +08:00
parent 29ba4e8c56
commit 57c15d6b4d
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,7 @@
<script src="static/plugs/core/vue.router.js"></script>
<script src="static/plugs/core/vue.sfc.loader.js"></script>
<script src="static/plugs/core/vue.element.plus.js"></script>
<script src="static/plugs/core/vue.element.icons.js"></script>
<script src="static/plugs/less/less.min.js"></script>
<!-- 加载基础框架模块 -->

View File

@ -81,8 +81,7 @@
const app = Vue.createApp({});
// 定义全局缓存,加载字体组件
app.cache = {loadOpt: options, loadVue: loadVue};
app.cache.icons = await loadVue("/static/plugs/core/vue.element.icons.js");
app.cache = {loadOpt: options, loadVue: loadVue, icons: ElementPlusIconsVue};
for (let i in app.cache.icons) app.component(i, app.cache.icons[i]);
// 注册 getApp 获取应用