wip
This commit is contained in:
parent
c2c03a1c65
commit
fc15249aa4
2 changed files with 8 additions and 9 deletions
|
|
@ -14,7 +14,7 @@ import ElementLocaleJa from 'element-ui/lib/locale/lang/ja';
|
|||
import App from './app.vue';
|
||||
import checkForUpdate from './common/scripts/check-for-update';
|
||||
import MiOS, { API } from './common/mios';
|
||||
import { version, codename, hostname, lang } from './config';
|
||||
import { version, codename, lang } from './config';
|
||||
|
||||
let elementLocale;
|
||||
switch (lang) {
|
||||
|
|
@ -60,10 +60,6 @@ console.info(
|
|||
window.clearTimeout((window as any).mkBootTimer);
|
||||
delete (window as any).mkBootTimer;
|
||||
|
||||
if (hostname != 'localhost') {
|
||||
document.domain = hostname;
|
||||
}
|
||||
|
||||
//#region Set lang attr
|
||||
const html = document.documentElement;
|
||||
html.setAttribute('lang', lang);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue