houzhongjian
2024-11-06 6735472129b9814ca45c5756c6c720cf24d17948
1
2
3
export const setHtmlPageLang = (locale: LocaleType) => {
  document.querySelector('html')?.setAttribute('lang', locale)
}