Skip to content

Commit

Permalink
Update rollback.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ocpeng authored Dec 28, 2021
1 parent 9ba7c75 commit c164451
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sql/templates/rollback.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@
title: '回滚语句',
field: 1,
formatter: function (value, row, index) {
if (value.length > 80) {
return value.substr(0, 80) + '...';
var sql=row[1];
if (sql.length > 80) {
return sql.substr(0, 80) + '...';
} else {
return value
return sql
}
}
}, {
Expand Down

0 comments on commit c164451

Please sign in to comment.