From a3f67052be742fe3ffed2ab1a685911bf41c244d Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Mon, 14 Oct 2019 17:54:11 +0800 Subject: [PATCH] =?UTF-8?q?confirm=E5=8F=96=E6=B6=88=E9=81=AE=E7=BD=A9?= =?UTF-8?q?=E5=B1=82=E5=AD=98=E5=9C=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/template/assets/lib/layui/lay/modules/layer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp-web/src/main/resources/template/assets/lib/layui/lay/modules/layer.js b/erp-web/src/main/resources/template/assets/lib/layui/lay/modules/layer.js index a7f1be78..78397b90 100644 --- a/erp-web/src/main/resources/template/assets/lib/layui/lay/modules/layer.js +++ b/erp-web/src/main/resources/template/assets/lib/layui/lay/modules/layer.js @@ -123,7 +123,7 @@ var layer = { content: content, btn: ready.btn, yes: yes, - btn2: cancel + btn2: cancel ? cancel: function(){$("body").find(".mask-req-str").remove();} }, type ? {} : options)); },