TODO:可信代码库-屏蔽所有Message.error
This commit is contained in:
@@ -206,7 +206,7 @@ async function getMalwareDetails(id) {
|
||||
malwareDetails.value = res.data.records[0];
|
||||
}
|
||||
} catch (e) {
|
||||
Message.error('接口错误,查询详情失败');
|
||||
// Message.error('接口错误,查询详情失败');
|
||||
}
|
||||
getCurrentPageData();
|
||||
}
|
||||
|
||||
@@ -213,10 +213,10 @@ async function getMalwareList() {
|
||||
});
|
||||
pager.total = res.data.data.total;
|
||||
} else {
|
||||
Message.error(res.data.msg || '查询恶意代码列表失败');
|
||||
// Message.error(res.data.msg || '查询恶意代码列表失败');
|
||||
}
|
||||
} catch (e) {
|
||||
Message.error('接口错误,查询恶意代码列表失败');
|
||||
// Message.error('接口错误,查询恶意代码列表失败');
|
||||
}
|
||||
searchLoading.value = false;
|
||||
}
|
||||
|
||||
@@ -213,10 +213,10 @@ async function getMalwareList() {
|
||||
});
|
||||
pager.total = res.data.data.total;
|
||||
} else {
|
||||
Message.error(res.data.msg || '查询恶意代码列表失败');
|
||||
// Message.error(res.data.msg || '查询恶意代码列表失败');
|
||||
}
|
||||
} catch (e) {
|
||||
Message.error('接口错误,查询恶意代码列表失败');
|
||||
// Message.error('接口错误,查询恶意代码列表失败');
|
||||
}
|
||||
searchLoading.value = false;
|
||||
}
|
||||
|
||||
@@ -206,7 +206,7 @@ async function getMalwareDetails(id) {
|
||||
malwareDetails.value = res.data.records[0];
|
||||
}
|
||||
} catch (e) {
|
||||
Message.error('接口错误,查询详情失败');
|
||||
// Message.error('接口错误,查询详情失败');
|
||||
}
|
||||
getCurrentPageData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user