famanoder 7 years ago
parent
commit
602b51bb1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/locales/index.js

+ 1 - 1
src/locales/index.js

@@ -4,7 +4,7 @@ import znCH from './lang/zn-CH'
 let defaultMessages = {};
 
 let merged = false;
-let vueI18nHandler = function() {
+const vueI18nHandler = function() {
     const vuei18n = Object.getPrototypeOf(this || Vue).$t;
     if (typeof vuei18n === 'function' && !!Vue.locale) {
         if (!merged) {