浏览代码

debug

master
Pascal Gloor 5 年前
父节点
当前提交
d2d09e578a
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5
    1
      www/js/autodoc.js

+ 5
- 1
www/js/autodoc.js 查看文件

@@ -232,6 +232,7 @@ function handle_uploads(ev) {
}

function upload_status() {
var finished = 1;
$.each(temp.upload, function(id, file) {
console.log(id,file);
var obj = $(".autodoc_template_progress").children();
@@ -244,6 +245,7 @@ function upload_status() {
$(obj).children().css('width', "100%");
}
else {
finished=0;
$(obj).children().addClass('bg-success');
$(obj).children().css('width', "100%");
}
@@ -251,5 +253,7 @@ function upload_status() {
console.log(obj);
$('.autodoc_upload_status').append(obj);
});
// setTimeout(upload_status, 1000);
if ( !finished ) {
setTimeout(upload_status, 1000);
}
}

正在加载...
取消
保存