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
linweijiong
jinfa-platform
Commits
79a2a06d
Commit
79a2a06d
authored
Aug 06, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 装修问题修复
parent
5f81110f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
5 deletions
+9
-5
index.tsx
src/pages/channel/channelInfo/index.tsx
+2
-2
index.tsx
...ngsPanel/propsSettings/components/AdvertSetting/index.tsx
+1
-0
index.tsx
...ingsPanel/propsSettings/components/BrandSetting/index.tsx
+1
-0
index.tsx
...opsSettings/components/CategoryreCommendSetting/index.tsx
+1
-0
index.tsx
...ingsPanel/propsSettings/components/GoodsSetting/index.tsx
+1
-1
index.tsx
...tingsPanel/propsSettings/components/ShopSetting/index.tsx
+1
-0
index.tsx
src/pages/shop/shopInfo/index.tsx
+2
-2
No files found.
src/pages/channel/channelInfo/index.tsx
View file @
79a2a06d
...
...
@@ -49,11 +49,11 @@ const ChannelInfo: React.FC<ShopInfoPropsType> = (props) => {
const
PDFList
=
[
'application/pdf'
]
const
isPDF
=
PDFList
.
includes
(
file
.
type
)
if
(
!
isLt50M
)
{
setFileLoading
(
tru
e
);
setFileLoading
(
fals
e
);
message
.
error
(
'上传文件大小不超过 50M!'
);
}
if
(
!
isPDF
)
{
setFileLoading
(
tru
e
);
setFileLoading
(
fals
e
);
message
.
error
(
'请上传pdf格式文件'
);
}
return
isLt50M
&&
isPDF
;
...
...
src/pages/editor/settingsPanel/propsSettings/components/AdvertSetting/index.tsx
View file @
79a2a06d
...
...
@@ -192,6 +192,7 @@ const AdvertSetting: React.FC<AdvertSettingPropsType> = forwardRef((props, ref)
const
handleConfirmSave
=
useCallback
((
e
:
any
)
=>
{
e
.
preventDefault
();
if
(
JSON
.
stringify
(
props
)
===
JSON
.
stringify
(
newProps
))
{
clearSelectedStatus
()
return
}
setConfirmLoading
(
true
)
...
...
src/pages/editor/settingsPanel/propsSettings/components/BrandSetting/index.tsx
View file @
79a2a06d
...
...
@@ -105,6 +105,7 @@ const BrandSetting: React.FC<ShopSettingPropsType> = (props) => {
const
handleConfirmSave
=
()
=>
{
if
(
JSON
.
stringify
(
brandList
)
===
JSON
.
stringify
(
selectBrandList
))
{
clearSelectedStatus
()
return
}
// if (selectBrandList.length <= 0) {
...
...
src/pages/editor/settingsPanel/propsSettings/components/CategoryreCommendSetting/index.tsx
View file @
79a2a06d
...
...
@@ -79,6 +79,7 @@ const CategoryRecommendSetting: React.FC<CategoryRecommendSettingPropsType> = (p
const
handleConfirmSave
=
useCallback
((
e
:
any
)
=>
{
e
.
preventDefault
();
if
(
JSON
.
stringify
(
props
)
===
JSON
.
stringify
(
newProps
))
{
clearSelectedStatus
()
return
}
...
...
src/pages/editor/settingsPanel/propsSettings/components/GoodsSetting/index.tsx
View file @
79a2a06d
...
...
@@ -190,8 +190,8 @@ const GoodsSetting: React.FC<GoodsSettingPropsType> = (props) => {
}
const
handleConfirmSave
=
()
=>
{
console
.
log
(
'handleConfirmSave1'
)
if
(
JSON
.
stringify
(
goodsList
)
===
JSON
.
stringify
(
selectGoodsList
))
{
clearSelectedStatus
()
return
}
// console.log('handleConfirmSave2')
...
...
src/pages/editor/settingsPanel/propsSettings/components/ShopSetting/index.tsx
View file @
79a2a06d
...
...
@@ -106,6 +106,7 @@ const ShopSetting: React.FC<ShopSettingPropsType> = (props) => {
const
handleConfirmSave
=
()
=>
{
if
(
JSON
.
stringify
(
shopsList
)
===
JSON
.
stringify
(
selectShopsList
))
{
clearSelectedStatus
()
return
}
...
...
src/pages/shop/shopInfo/index.tsx
View file @
79a2a06d
...
...
@@ -49,11 +49,11 @@ const ShopInfo: React.FC<ShopInfoPropsType> = (props) => {
const
PDFList
=
[
'application/pdf'
]
const
isPDF
=
PDFList
.
includes
(
file
.
type
)
if
(
!
isLt50M
)
{
setFileLoading
(
tru
e
);
setFileLoading
(
fals
e
);
message
.
error
(
'上传文件大小不超过 50M!'
);
}
if
(
!
isPDF
)
{
setFileLoading
(
tru
e
);
setFileLoading
(
fals
e
);
message
.
error
(
'请上传pdf格式文件'
);
}
return
isLt50M
&&
isPDF
;
...
...
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