fix: PCF查询无数据清空表不提示警告
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user