fix(管理员赠送): 弹窗展示接口返回的错误信息

This commit is contained in:
hzj 2025-09-15 19:42:42 +08:00
parent a6d1e60469
commit 3f956fc3dd

View File

@ -232,7 +232,7 @@ const sendGoods = async () => {
} catch (error) {
console.log('error:', error)
// id
showWarning('User info not found')
showWarning(error.response.errorMsg)
throw error
}
}