mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-14 18:11:53 +08:00
【代码优化】MALL: 会员修改余额
This commit is contained in:
@@ -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'))
|
||||||
|
Reference in New Issue
Block a user