fix: PCF查询无数据清空表不提示警告
This commit is contained in:
@@ -410,10 +410,7 @@ function fnGetList() {
|
|||||||
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
|
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
|
||||||
tableState.data = res.rows;
|
tableState.data = res.rows;
|
||||||
} else {
|
} else {
|
||||||
message.warning({
|
tableState.data = [];
|
||||||
content: `${res.msg}`,
|
|
||||||
duration: 3,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
tableState.loading = false;
|
tableState.loading = false;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user