fix: PCF查询无数据清空表不提示警告

This commit is contained in:
TsMask
2023-12-07 17:16:27 +08:00
parent 5056de2c1a
commit c93dabc6cf

View File

@@ -410,10 +410,7 @@ function fnGetList() {
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
tableState.data = res.rows;
} else {
message.warning({
content: `${res.msg}`,
duration: 3,
});
tableState.data = [];
}
tableState.loading = false;
});