From 75ed74e9a66a933a822a979c4a66854e29350251 Mon Sep 17 00:00:00 2001 From: young Date: Tue, 14 Mar 2017 15:34:19 +0800 Subject: [PATCH] fix: default prefix is empty --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index 4a527b7..b2e6cb2 100644 --- a/src/index.js +++ b/src/index.js @@ -117,10 +117,10 @@ const iview = { Upload }; let defaultOptions = { - componentPrefix: 'i' -} + componentPrefix: '' +}; const install = function (Vue, opts = {}) { - opts = Object.assign(defaultOptions, (opts || {})) + opts = Object.assign(defaultOptions, (opts || {})); locale.use(opts.locale); locale.i18n(opts.i18n); -- libgit2 0.21.4