1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 21:29:31 +08:00

update: 调整插件配置为全局混入

This commit is contained in:
小莫唐尼
2024-06-03 10:28:00 +08:00
parent 620354b77a
commit 6684f80f02
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -11,6 +11,8 @@
*/
import HaloConfig from '@/config/halo.config.js';
import HaloAdConfig from '@/config/ad.config.js';
import HaloPluginsConfig from '@/config/plugins.config.js';
export default {
install(Vue) {
Vue.mixin({
@@ -18,7 +20,9 @@ export default {
return {
author: HaloConfig.author,
_isWechat: true,
haloConfig: HaloConfig,
haloAdConfig: HaloAdConfig,
haloPluginsConfig: HaloPluginsConfig,
_aniWaitIndex: 0, // 动画索引
};
},
@@ -86,4 +90,4 @@ export default {
},
});
},
};
};