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/, ''), },