对接订单管理接口

This commit is contained in:
wangxiaowei
2025-12-19 16:41:32 +08:00
parent eee48dd9aa
commit 09c86fa8ca
13 changed files with 710 additions and 917 deletions

View File

@ -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}`)
}