forked from opentiny/tiny-engine
fix(http): 优化 http 接口报错 ui, 接口详情不展示在 title (#293)
This commit is contained in:
parent
52037fdf78
commit
96def94945
|
@ -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 ?? ''}`
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue