From bff44ee677dcac37b01048d62a94bc8a3c5e0364 Mon Sep 17 00:00:00 2001 From: G Date: Wed, 27 Dec 2023 17:42:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20:sparkles:=20=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/src/App.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/admin/src/App.tsx b/apps/admin/src/App.tsx index a02ac747..6f1265a5 100644 --- a/apps/admin/src/App.tsx +++ b/apps/admin/src/App.tsx @@ -9,14 +9,9 @@ import redImg from '@/assets/images/red-blur.png'; import router from '@/router'; import CustomGlobal from '@/styles/GlobalPager'; -import { setupProdMockServer } from '../mock/_createProductionServer'; import LoadingPage from './components/LoadingPage'; function App() { - const isBuild = process.env.NODE_ENV === 'production'; - if (isBuild) { - setupProdMockServer(); - } const preset = useGlobalStore((state) => state.preset); const [loading, setLoading] = useState(true);