Commit 156fccd8 authored by 杨奕's avatar 杨奕 Committed by hetech

Chore: optimize entry script (#12192)

parent 2bb9fd64
......@@ -23,7 +23,7 @@ const install = function(Vue, opts = {}) {
locale.use(opts.locale);
locale.i18n(opts.i18n);
components.map(component => {
components.forEach(component => {
Vue.component(component.name, component);
});
......
......@@ -145,7 +145,7 @@ const install = function(Vue, opts = {}) {
locale.use(opts.locale);
locale.i18n(opts.i18n);
components.map(component => {
components.forEach(component => {
Vue.component(component.name, component);
});
......
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