From a69b9ee1a73b88771973d72d3730001aef962a46 Mon Sep 17 00:00:00 2001 From: txb Date: Fri, 26 Aug 2022 17:22:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E8=A7=A3=E5=86=B3=E5=81=9A?= =?UTF-8?q?=E6=B3=95):=20=E8=A7=A3=E5=86=B3=E5=81=9A=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决做法 --- config/proxy.js | 4 ++-- src/pages/goods/goods-manage/components/CreateForm.jsx | 2 +- src/pages/goods/goodsInfo/index.jsx | 2 +- src/pages/goods/newgoods/components/CreateForm.jsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/proxy.js b/config/proxy.js index 11e2fbd..16901d9 100644 --- a/config/proxy.js +++ b/config/proxy.js @@ -6,10 +6,10 @@ * For details, please see * https://pro.ant.design/docs/deploy */ -export default { + export default { dev: { '/kitchen/': { - target: 'http://kitchen.dev1.com/', + target: 'https://localhost:5001/', changeOrigin: true, secure: false, //关闭证书验证 pathRewrite: { diff --git a/src/pages/goods/goods-manage/components/CreateForm.jsx b/src/pages/goods/goods-manage/components/CreateForm.jsx index 3296526..aa1bf08 100644 --- a/src/pages/goods/goods-manage/components/CreateForm.jsx +++ b/src/pages/goods/goods-manage/components/CreateForm.jsx @@ -24,7 +24,7 @@ const CreateForm = (props) => { - + diff --git a/src/pages/goods/goodsInfo/index.jsx b/src/pages/goods/goodsInfo/index.jsx index 7bad663..127cb7a 100644 --- a/src/pages/goods/goodsInfo/index.jsx +++ b/src/pages/goods/goodsInfo/index.jsx @@ -212,7 +212,7 @@ const Advanced = (props) => { - + diff --git a/src/pages/goods/newgoods/components/CreateForm.jsx b/src/pages/goods/newgoods/components/CreateForm.jsx index 3296526..70a2331 100644 --- a/src/pages/goods/newgoods/components/CreateForm.jsx +++ b/src/pages/goods/newgoods/components/CreateForm.jsx @@ -24,7 +24,7 @@ const CreateForm = (props) => { - +