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 += '