dongyukun
2025-06-06 aafe4fca47d74528ba9753ce07d2331c65f3fc24
1
2
3
export const setHtmlPageLang = (locale: LocaleType) => {
  document.querySelector('html')?.setAttribute('lang', locale)
}