generated from Leo_Ding/web-template
错误提示抛出
This commit is contained in:
parent
16fb5d9cdf
commit
245c0baf96
@ -121,6 +121,9 @@ function handleOk() {
|
||||
if (config('http.code.success') === result?.success) {
|
||||
hideModal()
|
||||
// emit('ok')
|
||||
} else {
|
||||
message.error({ content: result?.error.detail })
|
||||
hideModal()
|
||||
}
|
||||
} catch (error) {
|
||||
// console.log(error)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user