先提交一波

This commit is contained in:
aixianling
2023-03-28 17:59:07 +08:00
parent b6b5254c80
commit e29c00477b
5 changed files with 89 additions and 9 deletions

View File

@@ -18,6 +18,7 @@ const install = function (Vue) {
let contexts = require.context('.', true, /[\\\/]Ai([^\\\/]+)\.vue$/);
if (contexts) {
contexts.keys().map((e) => {
console.log(e)
components.push(contexts(e).default);
Vue.component(contexts(e).default.name, contexts(e).default);
});