From 92b62eae6ee68bd693457a16f3bdfb1d684a8fec Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 20 三月 2025 14:37:17 +0800
Subject: [PATCH] #修复 库位修改保存失败修复
---
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