[Update] 修改js默认语言为中文

pull/3632/head
Bai 2020-01-13 14:23:33 +08:00
parent 670e2d7352
commit 63746accf9
1 changed files with 2 additions and 2 deletions

View File

@ -1396,8 +1396,8 @@ function showCeleryTaskLog(taskId) {
}
function getUserLang(){
let userLangZh = document.cookie.indexOf('django_language=zh');
if (userLangZh !== -1){
let userLangZh = document.cookie.indexOf('django_language=en');
if (userLangZh === -1){
return 'zh-CN'
}
else{