From 5af417d60d0cc3cd37afacead01c01ac2d7b6970 Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期二, 24 十月 2023 16:58:27 +0800
Subject: [PATCH] 10.24。1

---
 cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js
index a0799ce..57f6acf 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js
@@ -16,7 +16,15 @@
     return [
         {field: 'selectItem', radio: true},
         {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'},
-        {title: '图片', field: 'url', visible: role==1?true:false, align: 'center', valign: 'middle',
+        {
+            title: '图片',
+            field: 'url',
+            visible: role == 1 ? true : false,
+            align: 'center',
+            valign: 'middle',
+            formatter: function(value, row, index) {
+                return '<img src="' + value + '" alt="图片" style="width: 100px; height: 100px;">';
+            }
         },
         {title: '跳转模块', field: 'name', visible: role==1?true:false, align: 'center', valign: 'middle',
         },

--
Gitblit v1.7.1