表格销毁清除记住选择数据

pull/257/head
RuoYi 2021-01-17 13:19:15 +08:00
parent 12d7c4168d
commit 3026e9f158
1 changed files with 2 additions and 0 deletions

View File

@ -286,6 +286,8 @@ var table = {
destroy: function (tableId) {
var currentId = $.common.isEmpty(tableId) ? table.options.id : tableId;
$("#" + currentId).bootstrapTable('destroy');
delete table.rememberSelectedIds[currentId];
delete table.rememberSelecteds[currentId];
},
// 序列号生成
serialNumber: function (index, tableId) {