Skip to content

Commit 30ad313

Browse files
committed
fix: revise inspection comments
1 parent ee866f6 commit 30ad313

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/sites/src/tools/appData.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const appFn = {
1414
if (name !== appData.lang) {
1515
let url = location.href
1616
url = location.href.replace(LANG_PATH_MAP[appData.lang], LANG_PATH_MAP[name])
17-
appData.lang = name
17+
// appData.lang = name // 官网先屏蔽切换语言,默认中文
18+
appData.lang = ZH_CN_LANG
1819
history.replaceState({}, '', url)
1920
location.reload()
2021
}

0 commit comments

Comments
 (0)