From 5cfcb717590fc87ca0105e33d1c412bedde262ce Mon Sep 17 00:00:00 2001 From: dami Date: Mon, 23 Feb 2026 01:21:44 +0800 Subject: [PATCH] up --- plugins/data_query/static/css/data.css | 22 ++++++++++++++++++++++ plugins/data_query/static/js/app.js | 8 ++++---- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/plugins/data_query/static/css/data.css b/plugins/data_query/static/css/data.css index be2ee24d6..07a9c0c23 100644 --- a/plugins/data_query/static/css/data.css +++ b/plugins/data_query/static/css/data.css @@ -45,4 +45,26 @@ right:0; /* 首行永远固定在左侧 */ z-index:1; background-color:white; +} + +.divtable { + overflow: auto; + /*border: 1px solid #ddd;*/ +} + +.divtable table { + margin-bottom: 0; +} + +.divtable table thead th { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.divtable table tbody td { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 200px; } \ No newline at end of file diff --git a/plugins/data_query/static/js/app.js b/plugins/data_query/static/js/app.js index bdb7e6c78..0e9ab23c8 100755 --- a/plugins/data_query/static/js/app.js +++ b/plugins/data_query/static/js/app.js @@ -1061,7 +1061,7 @@ function mysqlGetDataList(p){ for (var j = 0; j < fields.length; j++) { var f = fields[j]; if (f in dlist[i]) { - tbody += ''+dlist[i][f]+''; + tbody += ''+dlist[i][f]+''; } else { tbody += 'undefined'; } @@ -1100,7 +1100,7 @@ function mysqlProcessList(){ for (var j = 0; j < fields.length; j++) { var f = fields[j]; if (f in dlist[i]) { - tbody += ''+dlist[i][f]+''; + tbody += ''+dlist[i][f]+''; } else { tbody += 'undefined'; } @@ -1137,7 +1137,7 @@ function mysqlStatusList(){ for (var j = 0; j < fields.length; j++) { var f = fields[j]; if (f in dlist[i]) { - tbody += ''+dlist[i][f]+''; + tbody += ''+dlist[i][f]+''; } else { tbody += 'undefined'; } @@ -1174,7 +1174,7 @@ function mysqlStatsList(){ for (var j = 0; j < fields.length; j++) { var f = fields[j]; if (f in dlist[i]) { - tbody += ''+dlist[i][f]+''; + tbody += ''+dlist[i][f]+''; } else { tbody += 'undefined'; }