From 86c9496a8acffa877c9fb92f2a941f4b4e3ae08a Mon Sep 17 00:00:00 2001 From: Anyon Date: Sat, 19 Dec 2020 16:40:30 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/admin.js b/public/static/admin.js index 9b63338dc..76e5a65a7 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -856,7 +856,7 @@ $(function () { } } if (ret.data.status > 0) { - that.$code.html('

' + that.lines.join('

') + '

'), that.$code.animate({scrollTop: that.$code[0].scrollHeight + 'px'}, 200); + that.$code.html('

' + that.lines.join('

') + '

'), that.$code.animate({scrollTop: that.$code[0].scrollHeight + 'px'}, 200); that.$percent.attr('lay-percent', (parseFloat(ret.data.progress || '0.00').toFixed(2)) + '%'), layui.element.render(); that.setState(parseInt(ret.data.status), ret.data.message); } else return setTimeout(function () {