对接订单管理接口
This commit is contained in:
@ -110,10 +110,10 @@ const alovaInstance = createAlova({
|
||||
if (msg !== '查询成功') toast.info(msg)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (code !== ResultEnum.Success) {
|
||||
if (config.meta?.toast !== false) {
|
||||
toast.warning(msg)
|
||||
toast.info(msg)
|
||||
}
|
||||
throw new Error(`请求错误[${code}]:${msg}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user