From 3e31a125d8a333dac576ccdf38ff2c6328797559 Mon Sep 17 00:00:00 2001 From: baozhoutao Date: Sat, 15 Jan 2022 11:36:41 +0800 Subject: [PATCH] =?UTF-8?q?fix=20bug:=20standard=5Fdelete=5Fmany=20?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=AD=E5=8F=82=E6=95=B0=E4=BD=9C=E7=94=A8?= =?UTF-8?q?=E5=9F=9F=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/standard-objects/base.object.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/standard-objects/base.object.js b/packages/standard-objects/base.object.js index 5ed6f3c42a..cf7c55cba2 100644 --- a/packages/standard-objects/base.object.js +++ b/packages/standard-objects/base.object.js @@ -168,9 +168,9 @@ module.exports = { }, on: "list", todo: function () { - object_name = this.object_name; - list_view_id = Session.get("list_view_id") || "all"; - listViewName = "listview_" + object_name + "_" + list_view_id; + var object_name = this.object_name; + var list_view_id = Session.get("list_view_id") || "all"; + var listViewName = "listview_" + object_name + "_" + list_view_id; Creator.executeAction(object_name, {todo: 'standard_delete'}, null, null, listViewName); } },