diff --git a/sql/templates/slowquery.html b/sql/templates/slowquery.html
index 3225390..4633161 100644
--- a/sql/templates/slowquery.html
+++ b/sql/templates/slowquery.html
@@ -458,7 +458,16 @@
}, {
title: '优化-内容',
field: 'Comments',
- sortable:true
+ formatter: function (value, row, index) {
+ if (value != null) {
+ if (value.length > 20) {
+ var sql = value.substr(0, 20) + '...';
+ return sql;
+ } else {
+ return value
+ }
+ }
+ }
}, {
title: '优化-状态',
field: 'ReviewedStatus',