fix: CDR/UE数据空关闭loading

This commit is contained in:
TsMask
2025-02-27 15:31:58 +08:00
parent 6b81ea000b
commit 82d328e974
8 changed files with 67 additions and 55 deletions

View File

@@ -148,7 +148,7 @@ function fnGetList(pageNum?: number) {
queryParams.pageNum = pageNum;
}
listIMSSessionList(toRaw(queryParams)).then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.data)) {
// 取消勾选
if (tableState.selectedRowKeys.length > 0) {
tableState.selectedRowKeys = [];