fix: 修复订阅通知全部取消后数据返回为null导致无法勾选
This commit is contained in:
@@ -149,7 +149,12 @@ export default {
|
|||||||
size: this.tableData.size,
|
size: this.tableData.size,
|
||||||
});
|
});
|
||||||
this.tableData.loading = false;
|
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;
|
this.tableData.total = res.totalRow * 1;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user