fix: 静态路由菜单国际化/切换刷新

This commit is contained in:
TsMask committed 2023-11-11 11:44:21 +08:00
1 parent 1c82719af0
commit 3ae8a7c237
6 files changed
+48 -12

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ export default function useLocale() {
const changeLocale = (value: string) => {
i18n.locale.value = value;
localSet(CACHE_LOCAL_I18N, value);
window.location.reload()
};
return {