Commit 43ad93cd by puhui999

【代码优化】MALL: 会员修改余额

parent ffdd3325
...@@ -110,7 +110,7 @@ const submitForm = async () => { ...@@ -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'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment