Commit d64ad52dec1b386767c003216f37e74f95ef3a73
1 parent
916f3a6c
update index
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/index.js
@@ -133,6 +133,7 @@ const iview = { | @@ -133,6 +133,7 @@ const iview = { | ||
133 | }; | 133 | }; |
134 | 134 | ||
135 | const install = function(Vue, opts = {}) { | 135 | const install = function(Vue, opts = {}) { |
136 | + if (install.installed) return; | ||
136 | locale.use(opts.locale); | 137 | locale.use(opts.locale); |
137 | locale.i18n(opts.i18n); | 138 | locale.i18n(opts.i18n); |
138 | 139 |