Prevent from replacing i18n data directly

This commit is contained in:
Pig Fang 2018-09-06 22:18:07 +08:00
parent e69b8758e3
commit 5be159eede
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
import lang from './front-end.yml';
window.__bs_i18n__ = lang;
window.__bs_i18n__ = Object.assign(window.__bs_i18n__ || {}, lang);

View File

@ -1,3 +1,3 @@
import lang from './front-end.yml';
window.__bs_i18n__ = lang;
window.__bs_i18n__ = Object.assign(window.__bs_i18n__ || {}, lang);