Commit b1a84a91 authored by GuanHua's avatar GuanHua

fix: 装修商品筛选问题修复

parent abd2e104
...@@ -134,6 +134,9 @@ const CommodityDrawer: React.FC<CommodityDrawerProps> = (props: CommodityDrawerP ...@@ -134,6 +134,9 @@ const CommodityDrawer: React.FC<CommodityDrawerProps> = (props: CommodityDrawerP
shopId, shopId,
...filterParam ...filterParam
} }
if (params.idInList) {
_params.idInList = [params.idInList]
}
if (selectId) { if (selectId) {
_params.idNotInList = Array.isArray(selectId) ? selectId : [selectId] _params.idNotInList = Array.isArray(selectId) ? selectId : [selectId]
} }
......
...@@ -26,7 +26,7 @@ const CommoditySchema: ISchema = { ...@@ -26,7 +26,7 @@ const CommoditySchema: ISchema = {
}, },
}, },
properties: { properties: {
id: { idInList: {
type: 'string', type: 'string',
'x-component-props': { 'x-component-props': {
placeholder: '商品ID', placeholder: '商品ID',
......
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