From 51e9b24c421dd2e77ec5809a62c35fec115d5876 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 20 三月 2025 14:12:02 +0800
Subject: [PATCH] #添加 1. 添加库位逻辑分区 2. 物料添加自动生成编码 3. 库区字段显示优化

---
 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