From 6f859ebaa0912b419c2cbc0bd5b5e4df49b9b9a0 Mon Sep 17 00:00:00 2001 From: my_ong <429426262@qq.com> Date: Sun, 2 Mar 2025 19:22:46 +0800 Subject: [PATCH] =?UTF-8?q?sparkles:=20:sparkles:=20=E7=89=A9=E6=96=99?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stock/material/form.ts | 2 +- vite.config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/stock/material/form.ts b/src/views/stock/material/form.ts index 474358d..080c775 100644 --- a/src/views/stock/material/form.ts +++ b/src/views/stock/material/form.ts @@ -42,7 +42,7 @@ export const formItems = (types: TreeDataNode[]): FormItem[] => [ autoLink: true, hasFeedback: false, label: '物料类型', - name: 'areaNo', + name: 'type', required: true, extra: '', help: '', diff --git a/vite.config.ts b/vite.config.ts index 8974332..3b82e6b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -59,8 +59,8 @@ export default defineConfig(({ mode }) => { open: true, proxy: { '/api': { - target: 'https://ims.riemann.tech/api/', - // target: 'http://127.0.0.1:8888', + // target: 'https://ims.riemann.tech/api/', + target: 'http://127.0.0.1:8888', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ''), },