diff --git a/src/main/resources/static/js/JcPrinter/layer/layer.js b/src/main/resources/static/js/JcPrinter/layer/layer.js index 3cc95784..57127f65 100644 --- a/src/main/resources/static/js/JcPrinter/layer/layer.js +++ b/src/main/resources/static/js/JcPrinter/layer/layer.js @@ -81,10 +81,14 @@ }, n)) } }, s = function (e) { - var t = this, a = function () { + var t = this, + a = function () { t.creat() }; - t.index = ++r.index, t.config.maxWidth = i(n).width() - 30, t.config = i.extend({}, t.config, o.config, e), document.body ? a() : setTimeout(function () { + t.index = ++r.index, + t.config.maxWidth = i(n).width() - 30, + t.config = i.extend({}, t.config, o.config, e), + document.body ? a() : setTimeout(function () { a() }, 30) }; diff --git a/src/main/resources/static/lib/layui-v2.6.3/layui.js b/src/main/resources/static/lib/layui-v2.6.3/layui.js index e5df1dc9..b8d872fc 100644 --- a/src/main/resources/static/lib/layui-v2.6.3/layui.js +++ b/src/main/resources/static/lib/layui-v2.6.3/layui.js @@ -3698,12 +3698,20 @@ layui.define(function (e) { }, n)) } }, s = function (e) { - var t = this, a = function () { + + var t = this, + + a = function () { r.ready(function () { t.creat() }) }; - t.index = ++r.index, t.config.maxWidth = i(n).width() - 30, t.config = i.extend({}, t.config, o.config, e), document.body ? a() : setTimeout(function () { + + + t.index = ++r.index, + t.config.maxWidth = i(n).width() - 30, + t.config = i.extend({}, t.config, o.config, e), + document.body ? a() : setTimeout(function () { a() }, 30) }; @@ -4136,6 +4144,7 @@ layui.define(function (e) { }, o.run = function (t) { i = t, n = i(e), l.html = i("html"), r.open = function (e) { var t = new s(e); + console.log(t) return t.index } }, e.layui && layui.define ? (r.ready(), layui.define("jquery", function (t) { diff --git a/src/main/resources/templates/pages/application/my-task.html b/src/main/resources/templates/pages/application/my-task.html index 5700ca5c..2f3b84a6 100644 --- a/src/main/resources/templates/pages/application/my-task.html +++ b/src/main/resources/templates/pages/application/my-task.html @@ -26,47 +26,50 @@ } -