rsf-admin/src/App.jsx
@@ -28,7 +28,7 @@ DATA_PROVIDER_SPRING, } from "./config/setting"; import ResourceContent from "./page/ResourceContent"; import { getSystemInfo, getSystemDicts } from "@/api/auth"; import { getSystemInfo, getSystemDicts, tenants } from "@/api/auth"; const i18nProvider = polyglotI18nProvider( (locale) => { @@ -62,6 +62,9 @@ getSystemInfo().then((data) => { localStorage.setItem("system", JSON.stringify(data)); }) getSystemDicts().then(data => { localStorage.setItem('sys_dicts', JSON.stringify(data)); }) }, []); return (