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
@@ -117,10 +117,10 @@ const iview = { @@ -117,10 +117,10 @@ const iview = {
117 Upload 117 Upload
118 }; 118 };
119 let defaultOptions = { 119 let defaultOptions = {
120 - componentPrefix: 'i'  
121 -} 120 + componentPrefix: ''
  121 +};
122 const install = function (Vue, opts = {}) { 122 const install = function (Vue, opts = {}) {
123 - opts = Object.assign(defaultOptions, (opts || {})) 123 + opts = Object.assign(defaultOptions, (opts || {}));
124 locale.use(opts.locale); 124 locale.use(opts.locale);
125 locale.i18n(opts.i18n); 125 locale.i18n(opts.i18n);
126 126