Commit ecf42b2d authored by Maofei94's avatar Maofei94

fix: 产品配置修改

parent a30dedd7
Pipeline #22709 passed with stages
in 18 minutes 34 seconds
......@@ -56,7 +56,7 @@ const EditForm = props => {
},
]}
>
<Input placeholder="请输入产品名称" allowClear />
<Input placeholder="请输入产品名称" allowClear disabled />
</Item>
<Item
label="产品别名:"
......
......@@ -66,7 +66,7 @@ const AddForm = props => {
{productList &&
productList.map(item => (
<Option value={item.ProductName} key={item.Id}>
{item.ProductName}
{item.ProductAlias}
</Option>
))}
</Select>
......
......@@ -77,7 +77,7 @@ const EditForm = props => {
{productList &&
productList.map(item => (
<Option value={item.ProductName} key={item.Id}>
{item.ProductName}
{item.ProductAlias}
</Option>
))}
</Select>
......
......@@ -191,11 +191,11 @@ export const getDefaultGetWebconfig = ({
placeholder: '请选择产品类型',
options: products.map(t => ({
value: t.ProductName,
children: t.ProductName,
children: t.ProductAlias,
key: t.Id,
})),
onDropdownVisibleChange: onGetProduct,
showSearch: true,
showSearch: false,
filterOption: (input, option) =>
option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
rules: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment