From d64ad52dec1b386767c003216f37e74f95ef3a73 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Wed, 22 Nov 2017 15:19:58 +0800 Subject: [PATCH] update index --- src/index.js | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/index.js b/src/index.js index 6482b16..0931176 100644 --- a/src/index.js +++ b/src/index.js @@ -133,6 +133,7 @@ const iview = { }; const install = function(Vue, opts = {}) { + if (install.installed) return; locale.use(opts.locale); locale.i18n(opts.i18n); -- libgit2 0.21.4