From 5ddf26e390c8ba6e35dfbf93502c9a46f1bc356c Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 19 三月 2025 11:35:52 +0800
Subject: [PATCH] Merge branch 'front' into devlop

---
 rsf-admin/src/App.jsx |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/rsf-admin/src/App.jsx b/rsf-admin/src/App.jsx
index 2d6cde3..328a4b6 100644
--- a/rsf-admin/src/App.jsx
+++ b/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 (

--
Gitblit v1.9.1