Commit 75ed74e9a66a933a822a979c4a66854e29350251

Authored by young
1 parent 480911bd

fix: default prefix is empty

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/index.js
... ... @@ -117,10 +117,10 @@ const iview = {
117 117 Upload
118 118 };
119 119 let defaultOptions = {
120   - componentPrefix: 'i'
121   -}
  120 + componentPrefix: ''
  121 +};
122 122 const install = function (Vue, opts = {}) {
123   - opts = Object.assign(defaultOptions, (opts || {}))
  123 + opts = Object.assign(defaultOptions, (opts || {}));
124 124 locale.use(opts.locale);
125 125 locale.i18n(opts.i18n);
126 126  
... ...