mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update admin.js
This commit is contained in:
parent
a613b85586
commit
24a9bba833
@ -806,7 +806,7 @@ $(function () {
|
||||
}
|
||||
}
|
||||
that.$area.val(that.lines.join("\n")), that.$area.animate({scrollTop: that.$area[0].scrollHeight + 'px'}, 200);
|
||||
that.$percent.attr('lay-percent', (ret.data.progress || '0.00') + '%'), layui.element.render();
|
||||
that.$percent.attr('lay-percent', (parseFloat(ret.data.progress || '0.00').toFixed(2)) + '%'), layui.element.render();
|
||||
if (ret.data.status > 0) that.setState(parseInt(ret.data.status), ret.data.message);
|
||||
else return that.setState(4, '获取任务详情失败!'), false;
|
||||
if (parseInt(ret.data.status) === 3 || parseInt(ret.data.status) === 4) return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user