Skip to content

Commit

Permalink
Chore: optimize entry script (ElemeFE#12192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder authored and ziyoung committed Aug 1, 2018
1 parent 2bb9fd6 commit 156fccd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/bin/build-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit 156fccd

Please sign in to comment.