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
XieZhiXiong
jinfa-platform
Commits
da0f5612
Commit
da0f5612
authored
Aug 05, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2
parents
eeed6163
1b55d830
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
index.tsx
...opsSettings/components/CategoryreCommendSetting/index.tsx
+3
-0
index.tsx
...ingsPanel/propsSettings/components/GoodsSetting/index.tsx
+2
-2
No files found.
src/pages/editor/settingsPanel/propsSettings/components/CategoryreCommendSetting/index.tsx
View file @
da0f5612
...
...
@@ -105,6 +105,7 @@ const CategoryRecommendSetting: React.FC<CategoryRecommendSettingPropsType> = (p
}
if
(
selectKeys
.
length
>
4
)
{
message
.
error
(
'最多推荐4个二级品类'
)
reject
()
return
}
const
param
=
{
...
...
@@ -126,6 +127,8 @@ const CategoryRecommendSetting: React.FC<CategoryRecommendSettingPropsType> = (p
}
else
{
reject
()
}
}).
catch
(()
=>
{
reject
()
})
})
}
...
...
src/pages/editor/settingsPanel/propsSettings/components/GoodsSetting/index.tsx
View file @
da0f5612
...
...
@@ -98,7 +98,7 @@ const GoodsSetting: React.FC<GoodsSettingPropsType> = (props) => {
useEffect
(()
=>
{
fetchGoodsList
()
},
[
filterParam
,
current
])
},
[
filterParam
,
current
,
pageSize
])
const
fetchGoodsList
=
()
=>
{
let
param
:
any
=
{
...
...
@@ -199,7 +199,7 @@ const GoodsSetting: React.FC<GoodsSettingPropsType> = (props) => {
// message.error("请选择要推荐的商品")
// return
// } else
if
(
selectGoodsList
.
length
>
10
)
{
if
(
selectGoodsList
.
length
>
9
)
{
message
.
error
(
"最多只能推荐10件商品"
)
return
}
...
...
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