From c02c9797ead4f940d13bc072270d38e0357ae2b0 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Fri, 14 Mar 2025 14:38:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=85=A8=E9=83=A8=E5=8F=96=E6=B6=88=E5=90=8E?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=BF=94=E5=9B=9E=E4=B8=BAnull=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E6=97=A0=E6=B3=95=E5=8B=BE=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/shop/config/components/notifications.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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);