Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
3f70bc08
Commit
3f70bc08
authored
Nov 25, 2022
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改商品提交不带京东商品问题
parent
b139579e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
FormRuleVPictures.jsx
src/pages/ServiceGoods/components/FormRuleVPictures.jsx
+11
-10
No files found.
src/pages/ServiceGoods/components/FormRuleVPictures.jsx
View file @
3f70bc08
...
@@ -70,6 +70,7 @@ const FormRuleVPictures = forwardRef((props, ref) => {
...
@@ -70,6 +70,7 @@ const FormRuleVPictures = forwardRef((props, ref) => {
setFieldsValue
:
obj
=>
{
setFieldsValue
:
obj
=>
{
setDetailImageList
(
obj
.
detailImageList
||
[]);
setDetailImageList
(
obj
.
detailImageList
||
[]);
setImageList
(
obj
.
imageList
||
{});
setImageList
(
obj
.
imageList
||
{});
form
.
setFieldsValue
(
obj
);
},
},
getFieldsValue
:
form
.
getFieldsValue
,
getFieldsValue
:
form
.
getFieldsValue
,
reset
:
()
=>
{
reset
:
()
=>
{
...
@@ -123,8 +124,6 @@ const FormRuleVPictures = forwardRef((props, ref) => {
...
@@ -123,8 +124,6 @@ const FormRuleVPictures = forwardRef((props, ref) => {
form=
{
form
}
form=
{
form
}
labelCol=
{
{
flex
:
'
110px
'
}
}
labelCol=
{
{
flex
:
'
110px
'
}
}
labelAlign=
"right"
labelAlign=
"right"
labelWrap
wrapperCol=
{
{
flex
:
1
}
}
colon
colon
initialValues=
{
{
initialValues=
{
{
commonImageList
:
[],
commonImageList
:
[],
...
@@ -211,6 +210,7 @@ const FormRuleVPictures = forwardRef((props, ref) => {
...
@@ -211,6 +210,7 @@ const FormRuleVPictures = forwardRef((props, ref) => {
setPictureList=
{
list
=>
onPictureSuccessEvent
(
list
,
key
)
}
setPictureList=
{
list
=>
onPictureSuccessEvent
(
list
,
key
)
}
/>
/>
</
Form
.
Item
>
</
Form
.
Item
>
{
!
imageList
[
key
]?.
length
&&
(
<
Button
<
Button
disabled=
{
imageList
[
key
]?.
length
}
disabled=
{
imageList
[
key
]?.
length
}
className=
{
commonStyle
.
pullImage
}
className=
{
commonStyle
.
pullImage
}
...
@@ -219,6 +219,7 @@ const FormRuleVPictures = forwardRef((props, ref) => {
...
@@ -219,6 +219,7 @@ const FormRuleVPictures = forwardRef((props, ref) => {
>
>
拉取公共图
拉取公共图
</
Button
>
</
Button
>
)
}
</
div
>
</
div
>
))
}
))
}
<
Form
.
Item
<
Form
.
Item
...
...
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