fix(http): 优化 http 接口报错 ui, 接口详情不展示在 title (#293)

This commit is contained in:
chilingling 2024-02-20 15:36:51 +08:00 committed by GitHub
parent 52037fdf78
commit 96def94945
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ const loginVM = createApp(Login).mount(loginDom)
const showError = (url, message) => {
globalNotify({
type: 'error',
title: `接口 ${url} 请求报错`,
message: `报错信息: ${message}`
title: '接口报错',
message: `报错接口: ${url} \n报错信息: ${message ?? ''}`
})
}