From 3c3e9ea5a13a4a55236976eb492a30f8562efafc Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 20 Mar 2019 20:21:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4=E9=A1=B5=E9=9D=A2=E5=8D=95=E8=A1=8C=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E9=94=99=E8=AF=AF=20closed=20#IU4UY?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=IU4UY --- Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js b/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js index 6df832d6..262d4613 100644 --- a/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js +++ b/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js @@ -197,7 +197,9 @@ $(op.modal).modal("show"); }, 'click .del': function (e, value, row, index) { - var text = "您确定要删除 " + row.Name + " 吗?"; + var displayName = "本项目"; + if (row.Name) displayName = " " + row.Name + " "; + var text = "您确定要删除" + displayName + "吗?"; var data = $.extend({}, row); formatData(data); data = [data];