diff --git a/public/assets/js/require-table.js b/public/assets/js/require-table.js index 02ec32c7..d2d55f2a 100644 --- a/public/assets/js/require-table.js +++ b/public/assets/js/require-table.js @@ -424,9 +424,8 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table var yes = typeof this.yes !== 'undefined' ? this.yes : 1; var no = typeof this.no !== 'undefined' ? this.no : 0; return ""; - } - , + + row.id + "' data-params='" + this.field + "=" + (value == yes ? no : yes) + "'>"; + }, url: function (value, row, index) { return '
'; },