fix: default prefix is empty
This commit is contained in:
parent
480911bd44
commit
75ed74e9a6
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue