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)); },