From e70075bf060abb7c8faa5e6be9168bfd96f723cf Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 21 八月 2023 16:12:37 +0800
Subject: [PATCH] #优化站点显示

---
 src/main/webapp/views/console.html |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 498c2b7..906f732 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -594,7 +594,11 @@
                                         col = '<button class="item" style="font-size: 24px">&#9889;</button>';
                                         break;
                                     default:
-                                        col = '<button class="item">' + idx + '</button>';
+                                        let val = idx;
+                                        if (colData.data.length > 0) {
+                                            val = colData.data
+                                        }
+                                        col = '<button class="item">' + val + '</button>';
                                 }
 
                                 if(rowData.length - 2 == idx){

--
Gitblit v1.9.1