【代码优化】MALL: 会员修改余额
parent
ffdd3325dd
commit
43ad93cd20
|
@ -110,7 +110,7 @@ const submitForm = async () => {
|
||||||
try {
|
try {
|
||||||
await UserApi.updateUserBalance({
|
await UserApi.updateUserBalance({
|
||||||
id: formData.value.id,
|
id: formData.value.id,
|
||||||
balance: convertToInteger(balanceResult.value)
|
balance: convertToInteger(formData.value.changeBalance) * formData.value.changeType
|
||||||
})
|
})
|
||||||
|
|
||||||
message.success(t('common.updateSuccess'))
|
message.success(t('common.updateSuccess'))
|
||||||
|
|
Loading…
Reference in New Issue