ck管理增加排序,禁用,实时状态变成手动获取

This commit is contained in:
whyour
2021-04-10 00:21:51 +08:00
parent ef24fc8354
commit fb98bc44e4
17 changed files with 621 additions and 522 deletions
+3 -1
View File
@@ -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 });
}