diff --git a/src/views/shop/config/components/notifications.vue b/src/views/shop/config/components/notifications.vue index 39099f9..c0d1367 100644 --- a/src/views/shop/config/components/notifications.vue +++ b/src/views/shop/config/components/notifications.vue @@ -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);