Quellcode durchsuchen

🐞 fix(解决做法): 解决做法

解决做法
tags/小炒逻辑变更前
txb vor 2 Jahren
Ursprung
Commit
a69b9ee1a7
4 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. +2
    -2
      config/proxy.js
  2. +1
    -1
      src/pages/goods/goods-manage/components/CreateForm.jsx
  3. +1
    -1
      src/pages/goods/goodsInfo/index.jsx
  4. +1
    -1
      src/pages/goods/newgoods/components/CreateForm.jsx

+ 2
- 2
config/proxy.js Datei anzeigen

@@ -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: {


+ 1
- 1
src/pages/goods/goods-manage/components/CreateForm.jsx Datei anzeigen

@@ -24,7 +24,7 @@ const CreateForm = (props) => {
<Form.Item name="id" hidden={true}>
<Input />
</Form.Item>
<Form.Item name="code" label="商品编码" rules={[{ required: true }]}>
<Form.Item name="code" hidden={true} label="商品编码" rules={[{ required: true }]}>
<Input />
</Form.Item>
<Form.Item name="name" label="商品名称" rules={[{ required: true }]}>


+ 1
- 1
src/pages/goods/goodsInfo/index.jsx Datei anzeigen

@@ -212,7 +212,7 @@ const Advanced = (props) => {
<Form.Item name="id" hidden={true}>
<Input />
</Form.Item>
<Form.Item name="code" label="商品编码" >
<Form.Item name="code" label="商品编码" hidden={true} >
<Input disabled/>
</Form.Item>
<Form.Item name="name" label="商品名称" rules={[{ required: true }]}>


+ 1
- 1
src/pages/goods/newgoods/components/CreateForm.jsx Datei anzeigen

@@ -24,7 +24,7 @@ const CreateForm = (props) => {
<Form.Item name="id" hidden={true}>
<Input />
</Form.Item>
<Form.Item name="code" label="商品编码" rules={[{ required: true }]}>
<Form.Item name="code" label="商品编码" hidden={true} rules={[{ required: true }]}>
<Input />
</Form.Item>
<Form.Item name="name" label="商品名称" rules={[{ required: true }]}>


Laden…
Abbrechen
Speichern