Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
b1a84a91
Commit
b1a84a91
authored
Sep 24, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 装修商品筛选问题修复
parent
abd2e104
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
index.tsx
src/pages/editor/components/drawer/commodityDrawer/index.tsx
+3
-0
schema.ts
src/pages/editor/components/drawer/commodityDrawer/schema.ts
+1
-1
No files found.
src/pages/editor/components/drawer/commodityDrawer/index.tsx
View file @
b1a84a91
...
@@ -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
]
}
}
...
...
src/pages/editor/components/drawer/commodityDrawer/schema.ts
View file @
b1a84a91
...
@@ -26,7 +26,7 @@ const CommoditySchema: ISchema = {
...
@@ -26,7 +26,7 @@ const CommoditySchema: ISchema = {
},
},
},
},
properties
:
{
properties
:
{
id
:
{
id
InList
:
{
type
:
'string'
,
type
:
'string'
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'商品ID'
,
placeholder
:
'商品ID'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment