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
shenshaokai
jinfa-admin
Commits
fda6f5c8
Commit
fda6f5c8
authored
Nov 18, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://10.0.0.22:3000/lingxi/lingxi-business-system
into dev
parents
fbcfc76c
93c4c22e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
+15
-12
index.tsx
...ingsPanel/propsSettings/components/BrandSetting/index.tsx
+5
-4
index.tsx
...ingsPanel/propsSettings/components/GoodsSetting/index.tsx
+5
-4
index.tsx
...tingsPanel/propsSettings/components/ShopSetting/index.tsx
+5
-4
No files found.
src/pages/pageCustomized/settingsPanel/propsSettings/components/BrandSetting/index.tsx
View file @
fda6f5c8
...
...
@@ -112,10 +112,11 @@ const BrandSetting: React.FC<ShopSettingPropsType> = (props) => {
if
(
JSON
.
stringify
(
brandList
)
===
JSON
.
stringify
(
selectBrandList
))
{
return
}
if
(
selectBrandList
.
length
<=
0
)
{
message
.
error
(
"请选择要推荐的品牌"
)
return
}
else
if
(
selectBrandList
.
length
>
6
)
{
// if (selectBrandList.length <= 0) {
// message.error("请选择要推荐的品牌")
// return
// } else
if
(
selectBrandList
.
length
>
6
)
{
message
.
error
(
"最多推荐6个品牌"
)
return
}
...
...
src/pages/pageCustomized/settingsPanel/propsSettings/components/GoodsSetting/index.tsx
View file @
fda6f5c8
...
...
@@ -172,10 +172,11 @@ const GoodsSetting: React.FC<GoodsSettingPropsType> = (props) => {
if
(
JSON
.
stringify
(
goodsList
)
===
JSON
.
stringify
(
selectGoodsList
))
{
return
}
if
(
selectGoodsList
.
length
<=
0
)
{
message
.
error
(
"请选择要推荐的商品"
)
return
}
else
if
(
selectGoodsList
.
length
>
10
)
{
// if (selectGoodsList.length <= 0) {
// message.error("请选择要推荐的商品")
// return
// } else
if
(
selectGoodsList
.
length
>
10
)
{
message
.
error
(
"最多推荐10件商品"
)
return
}
...
...
src/pages/pageCustomized/settingsPanel/propsSettings/components/ShopSetting/index.tsx
View file @
fda6f5c8
...
...
@@ -113,10 +113,11 @@ const ShopSetting: React.FC<ShopSettingPropsType> = (props) => {
return
}
if
(
selectShopsList
.
length
<=
0
)
{
message
.
error
(
"请选择要推荐的店铺"
)
return
}
else
if
(
selectShopsList
.
length
>
5
)
{
// if (selectShopsList.length <= 0) {
// message.error("请选择要推荐的店铺")
// return
// } else
if
(
selectShopsList
.
length
>
5
)
{
message
.
error
(
"最多推荐5个店铺"
)
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