修复 【兑换码管理】编辑页面,打开加款对话框,再关闭加款对话框,金额会展示为“NaN”
This commit is contained in:
parent
fd462e8c13
commit
87a5c34353
|
@ -132,7 +132,10 @@ export default ({ data, onChangeMoney }) => {
|
||||||
<p className='dflexajce'>
|
<p className='dflexajce'>
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
onChangeMoney(false, Number(stateData.addNew))
|
onChangeMoney(
|
||||||
|
false,
|
||||||
|
stateData.addNew ? Number(stateData.addNew) : 0
|
||||||
|
)
|
||||||
}}>
|
}}>
|
||||||
取消
|
取消
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Reference in New Issue