From e7ad06dfdfb1a37c7a36bec0f3058c9e6c38055b Mon Sep 17 00:00:00 2001 From: Argo Zhang <Argo@163.com> Date: Mon, 17 Jun 2019 18:07:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(#IY131):=20IE=2011=20=E4=B8=8B=E6=89=80?= =?UTF-8?q?=E6=9C=89=E6=95=B0=E6=8D=AE=E8=A1=A8=E6=A0=BC=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Comment comment commit:8b8112a5e4b41bc70f485c5023bdf2394add0739 #Issue PR: !17 close https://gitee.com/LongbowEnterprise/dashboard/issues?id=IY131 --- Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js b/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js index e8cff29a..ae21e890 100644 --- a/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js +++ b/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js @@ -1,4 +1,4 @@ -(function ($) { +(function ($) { var formatData = function (data) { delete data._nodes; delete data._parent; @@ -166,7 +166,7 @@ return; } else { - swal($.extend({}, swalDeleteOptions)).then((result) => { + swal($.extend({}, swalDeleteOptions)).then(function (result) { if (result.value) { var logData = arrselections.map(function (element, index) { return formatData($.extend({}, element)); @@ -232,7 +232,7 @@ }); text = "本删除项含有级联子项目</br>您确定要删除 <span class='text-danger font-weight-bold'>" + row.Name + "</span> 以及子项目吗?"; } - swal($.extend({}, swalDeleteOptions, { html: text })).then((result) => { + swal($.extend({}, swalDeleteOptions, { html: text })).then(function (result) { if (result.value) { var idField = findIdField(op.table); var iDs = data.map(function (element, index) {