mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-24 23:59:16 +08:00
Merge branch 'v6' of https://github.com/zoujingli/ThinkAdmin into v6
This commit is contained in:
commit
36cd52841f
@ -856,7 +856,7 @@ $(function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ret.data.status > 0) {
|
if (ret.data.status > 0) {
|
||||||
that.$code.html('<p>' + that.lines.join('</p><p>') + '</p>'), that.$code.animate({scrollTop: that.$code[0].scrollHeight + 'px'}, 200);
|
that.$code.html('<p class="layui-elip">' + that.lines.join('</p><p class="layui-elip">') + '</p>'), 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.$percent.attr('lay-percent', (parseFloat(ret.data.progress || '0.00').toFixed(2)) + '%'), layui.element.render();
|
||||||
that.setState(parseInt(ret.data.status), ret.data.message);
|
that.setState(parseInt(ret.data.status), ret.data.message);
|
||||||
} else return setTimeout(function () {
|
} else return setTimeout(function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user