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
黄庭坚
jinfa-platform
Commits
7141d662
Commit
7141d662
authored
Nov 26, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修复新值没有覆盖旧值的问题
parent
f0bdf628
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.tsx
...upon/merchantCouponQuery/components/ActionModal/index.tsx
+3
-3
No files found.
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponQuery/components/ActionModal/index.tsx
View file @
7141d662
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2021-07-02 15:30:48
* @Date: 2021-07-02 15:30:48
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-
09-30 17:02:09
* @LastEditTime: 2021-
11-26 18:15:44
* @Description: 操作 Modal
* @Description: 操作 Modal
*/
*/
import
React
,
{
useRef
}
from
'react'
;
import
React
,
{
useRef
}
from
'react'
;
...
@@ -67,11 +67,11 @@ const ActionModal: React.FC<IProps> = (props) => {
...
@@ -67,11 +67,11 @@ const ActionModal: React.FC<IProps> = (props) => {
const
formRef
=
useRef
<
ReasonFormRefHandle
|
EditFormRefHandle
|
null
>
(
null
);
const
formRef
=
useRef
<
ReasonFormRefHandle
|
EditFormRefHandle
|
null
>
(
null
);
const
handleReasonSubmit
=
(
values
:
ReasonValueType
)
=>
{
const
handleReasonSubmit
=
(
values
:
ReasonValueType
)
=>
{
onConfirm
({
reason
:
values
.
reason
,
...
value
},
modalName
);
onConfirm
({
...
value
,
reason
:
values
.
reason
},
modalName
);
};
};
const
handleEditSubmit
=
(
values
:
EditSubmitValueType
)
=>
{
const
handleEditSubmit
=
(
values
:
EditSubmitValueType
)
=>
{
onConfirm
({
...
value
s
,
...
value
},
modalName
);
onConfirm
({
...
value
,
...
values
},
modalName
);
};
};
const
handleConfirm
=
()
=>
{
const
handleConfirm
=
()
=>
{
...
...
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