From 3e92ee4cd91ad88c69ce4ac7028455881d329fb9 Mon Sep 17 00:00:00 2001 From: Anyon Date: Sat, 19 Dec 2020 16:44:56 +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 76e5a65a7..f189e802c 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 () {