尝试一下大屏设计的问题

This commit is contained in:
aixianling
2022-03-25 16:04:19 +08:00
parent 87231fdb1f
commit 208e6de3e4
3 changed files with 2 additions and 25 deletions

View File

@@ -1,22 +0,0 @@
//引入当前工程所有的应用
const install = function(Vue) {
if (install.installed) return Promise.resolve();
else {
let contexts = require.context('../packages', true, /(\/.+)\/App[^\/]+\.vue$/);
if (contexts) {
contexts.keys().map((e) => {
if (contexts(e).default) {
Vue.component(contexts(e).default.name, contexts(e).default);
}
});
}
}
};
// 判断是否是直接引入文件
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue);
}
export default {
// 导出的对象必须具有 install才能被 Vue.use() 方法安装
install
};

View File

@@ -11,7 +11,6 @@ import store from './store';
import dataV from '@jiaminghi/data-view';
Vue.use(dataV);
Vue.use(ui);
Vue.use(vcUI);
//富文本编辑器配置