dongyukun
2024-12-31 23c8b8154fcf7c9251d07f028f3e14737ba4cecd
1
2
3
export const setHtmlPageLang = (locale: LocaleType) => {
  document.querySelector('html')?.setAttribute('lang', locale)
}