fix: 修复订阅通知全部取消后数据返回为null导致无法勾选
This commit is contained in:
parent
389d5542ff
commit
c02c9797ea
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue