Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
project
jinfa-admin
Commits
dea9c4f1
Commit
dea9c4f1
authored
Nov 29, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 店铺装修组件参数添加
parent
d11b74b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
index.tsx
...bileSettingPanel/propsSettings/components/shops/index.tsx
+4
-2
No files found.
src/pages/pageCustomized/mobileSettingPanel/propsSettings/components/shops/index.tsx
View file @
dea9c4f1
...
...
@@ -36,11 +36,12 @@ interface BannerClientProps {
productIds
:
number
[],
productList
?:
any
[],
// 1.B端 2.C端 3.SRM
property
?:
1
|
2
|
3
property
?:
1
|
2
|
3
,
environment
:
number
,
}
const
RecomendShops
:
React
.
FC
<
BannerClientProps
>
=
(
props
:
BannerClientProps
)
=>
{
const
{
id
,
type
,
property
=
1
,
memberName
,
memberId
,
roleId
,
logo
,
productIds
=
[],
productList
=
[],
selectedKey
}
=
props
;
const
{
id
,
type
,
property
=
1
,
environment
,
memberName
,
memberId
,
roleId
,
logo
,
productIds
=
[],
productList
=
[],
selectedKey
}
=
props
;
const
[
mixVisible
,
setMixVisible
]
=
useState
<
boolean
>
(
false
);
const
[
actVisible
,
setActVisible
]
=
useState
<
boolean
>
(
false
);
const
[
commodityVisible
,
setCommodityVisible
]
=
useState
<
boolean
>
(
false
);
...
...
@@ -196,6 +197,7 @@ const RecomendShops: React.FC<BannerClientProps> = (props: BannerClientProps) =>
onConfirm=
{
_onChooseConfirm
}
disabledKeys=
{
sameLevelPropsList
?
sameLevelPropsList
.
map
((
item
)
=>
item
.
id
)
:
[]
}
visible=
{
mixVisible
}
environment=
{
environment
}
/>
<
CommodityDrawer
selectId=
{
productIds
}
...
...
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