潘志宝
2024-11-12 e7b6da924c75bcae34945d585533d48b05b76f1c
1
2
3
export const setHtmlPageLang = (locale: LocaleType) => {
  document.querySelector('html')?.setAttribute('lang', locale)
}