From 55f0ca7c32e522ddbdefea0487c7fbde047707d9 Mon Sep 17 00:00:00 2001
From: quxin <592870522@qq.com>
Date: 星期三, 02 九月 2026 17:10:31 +0800
Subject: [PATCH] 修复: 物料中的SOP/SIP上传图片后,点击保存后图片没有展示

---
 src/views/system/notify/my/data.ts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/views/system/notify/my/data.ts b/src/views/system/notify/my/data.ts
index b31d437..a2789cb 100644
--- a/src/views/system/notify/my/data.ts
+++ b/src/views/system/notify/my/data.ts
@@ -131,7 +131,19 @@
     },
     {
       field: 'templateContent',
+      label: '涓婚',
+    },
+    {
+      field: 'templateParams',
       label: '娑堟伅鍐呭',
+      render: (val) => {
+        try {
+          const params = typeof val === 'string' ? JSON.parse(val) : val;
+          return params?.content || '-';
+        } catch {
+          return String(val);
+        }
+      },
     },
   ];
 }

--
Gitblit v1.9.3