重构代码:优化单行删除操作日志脚本 link #IS7UN
This commit is contained in:
parent
809efa3029
commit
9e50cae073
|
@ -202,7 +202,9 @@
|
|||
confirmButtonClass: "btn-danger ml-2",
|
||||
cancelButtonText: "取消"
|
||||
}, function () {
|
||||
$.logData.push({ url: op.url, data: $.extend({}, row, { _nodes: null }) });
|
||||
var data = $.extend({}, row);
|
||||
delete data._nodes;
|
||||
$.logData.push({ url: op.url, data: data });
|
||||
setTimeout(function () {
|
||||
var iDs = [value];
|
||||
$.bc({
|
||||
|
|
Loading…
Reference in New Issue