chore fix

This commit is contained in:
2025-12-06 13:30:17 +08:00
parent 2972886576
commit 8aca372fc1
43 changed files with 984 additions and 595 deletions

View File

@@ -0,0 +1,9 @@
// 获取浏览器语言
function getBrowserLanguage() {
return navigator.language || navigator.userLanguage || 'zh-Hans';
}
// 设置HTML lang属性
function setHtmlLang(lang) {
document.documentElement.lang = lang;
}