Commit 0e44e45c by zhaochengxiang

bug fix

parent a0379c78
...@@ -86,7 +86,7 @@ export const Basic = React.forwardRef(function ({}, ref) { ...@@ -86,7 +86,7 @@ export const Basic = React.forwardRef(function ({}, ref) {
}, },
{ {
title: '筛选方式', title: '筛选方式',
dataIndex: 'matchType', dataIndex: 'matchTypeName',
}, },
{ {
title: '值', title: '值',
...@@ -147,6 +147,7 @@ export const Basic = React.forwardRef(function ({}, ref) { ...@@ -147,6 +147,7 @@ export const Basic = React.forwardRef(function ({}, ref) {
const onAddClick = () => { const onAddClick = () => {
const newProperty = produce(currentProperty, (draft) => { const newProperty = produce(currentProperty, (draft) => {
draft.matchType = currentPropertyMatchType?.type draft.matchType = currentPropertyMatchType?.type
draft.matchTypeName = currentPropertyMatchType?.name
draft.value = currentPropertyMatchValue draft.value = currentPropertyMatchValue
draft.valueName = currentPropertyMatchValue draft.valueName = currentPropertyMatchValue
......
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