mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 01:14:50 +08:00
ck管理增加排序,禁用,实时状态变成手动获取
This commit is contained in:
+3
-1
@@ -5,7 +5,9 @@ import config from './config';
|
||||
const time = Date.now();
|
||||
const errorHandler = function (error: any) {
|
||||
if (error.response) {
|
||||
const message = error.data ? error.data.message : error.response.statusText;
|
||||
const message = error.data
|
||||
? error.data.message || error.data
|
||||
: error.response.statusText;
|
||||
if (error.response.status !== 401) {
|
||||
notification.error({ message });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user