TODO:可信代码库-屏蔽所有Message.error

This commit is contained in:
付民康
2025-06-26 18:19:54 +08:00
parent 8dcd19412d
commit 59e2018bad
19 changed files with 50 additions and 50 deletions

View File

@@ -206,7 +206,7 @@ async function getMalwareDetails(id) {
malwareDetails.value = res.data.records[0];
}
} catch (e) {
Message.error('接口错误,查询详情失败');
// Message.error('接口错误,查询详情失败');
}
getCurrentPageData();
}

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -206,7 +206,7 @@ async function getMalwareDetails(id) {
malwareDetails.value = res.data.records[0];
}
} catch (e) {
Message.error('接口错误,查询详情失败');
// Message.error('接口错误,查询详情失败');
}
getCurrentPageData();
}