From 98554a353856fc4bbc1e4af9ae12ea6d78f1bb99 Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期四, 19 十月 2023 15:33:11 +0800
Subject: [PATCH] 10.18.2

---
 cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js
index a1c0515..5878705 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherOne.js
@@ -16,8 +16,17 @@
     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',
         },
         {title: '跳转页面', field: 'page', visible: role==1?true:false, align: 'center', valign: 'middle',

--
Gitblit v1.7.1