mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore: headerMenu 优化
This commit is contained in:
@@ -54,7 +54,7 @@ function createService() {
|
||||
return dataAxios.data;
|
||||
default:
|
||||
// 不是正确的 code
|
||||
const errorMessage = dataAxios.msg;
|
||||
const errorMessage = dataAxios.msg || dataAxios.message || "未知错误";
|
||||
// @ts-ignore
|
||||
if (response?.config?.onError) {
|
||||
// @ts-ignore
|
||||
|
||||
Reference in New Issue
Block a user