Commit 8e4a27c4 authored by 何虹's avatar 何虹 💬

测试

parent 6ba2de11
...@@ -6,8 +6,7 @@ requireComponent_.keys().forEach(fileName => { ...@@ -6,8 +6,7 @@ requireComponent_.keys().forEach(fileName => {
const { name } = componentConfig.default const { name } = componentConfig.default
if (name) { if (name) {
Vue.component(name, componentConfig.default || componentConfig) Vue.component(name, componentConfig.default || componentConfig)
obj[name]=componentConfig.default obj[name]=componentConfig
} }
}) })
export default obj export default obj
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment