fix bug: standard_delete_many 函数中参数作用域异常

This commit is contained in:
baozhoutao 2022-01-15 11:36:41 +08:00
parent 683112c091
commit 3e31a125d8

View File

@ -168,9 +168,9 @@ module.exports = {
}, },
on: "list", on: "list",
todo: function () { todo: function () {
object_name = this.object_name; var object_name = this.object_name;
list_view_id = Session.get("list_view_id") || "all"; var list_view_id = Session.get("list_view_id") || "all";
listViewName = "listview_" + object_name + "_" + list_view_id; var listViewName = "listview_" + object_name + "_" + list_view_id;
Creator.executeAction(object_name, {todo: 'standard_delete'}, null, null, listViewName); Creator.executeAction(object_name, {todo: 'standard_delete'}, null, null, listViewName);
} }
}, },