From 30185b533bda084fd7e73350f9b06a80e6d76bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=BE=E6=A0=91?= Date: Mon, 17 Jun 2019 16:08:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=93=8D=E4=BD=9C=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/view/create.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/common/view/create.html b/application/common/view/create.html index 993b57a8..d1d9f512 100644 --- a/application/common/view/create.html +++ b/application/common/view/create.html @@ -46,10 +46,11 @@ //先得到当前iframe层的索引 var index = parent.layer.getFrameIndex(window.name); //再执行关闭 - // layer.msg(result.msg); parent.layui.table.reload('mytable'); parent.layer.close(index); parent.layer.msg(result.msg); + }else{ + layer.msg(result.msg); } }, error:function(xhr,status,error) {