fix: 修复订阅通知全部取消后数据返回为null导致无法勾选

This commit is contained in:
YeMingfei666 2025-03-14 14:38:39 +08:00
parent 389d5542ff
commit c02c9797ea
1 changed files with 6 additions and 1 deletions

View File

@ -149,7 +149,12 @@ export default {
size: this.tableData.size,
});
this.tableData.loading = false;
this.tableData.data = res.records;
this.tableData.data = res.records.map((v) => {
return {
...v,
typeInfo: v.typeInfo ?? [],
};
});
this.tableData.total = res.totalRow * 1;
} catch (error) {
console.log(error);