fix(管理员赠送): 弹窗展示接口返回的错误信息
This commit is contained in:
parent
a6d1e60469
commit
3f956fc3dd
@ -232,7 +232,7 @@ const sendGoods = async () => {
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('error:', error)
|
console.log('error:', error)
|
||||||
// 信息提示id有误
|
// 信息提示id有误
|
||||||
showWarning('User info not found')
|
showWarning(error.response.errorMsg)
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user