mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
文件上传进度只显示整数部分
This commit is contained in:
parent
71495350d0
commit
3d6daf0d7c
@ -145,7 +145,7 @@ require(["jquery", "avalon", "editor", "uploader", "bsAlert", "csrfToken", "tagE
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
function (file, percentage) {
|
function (file, percentage) {
|
||||||
vm.uploadProgress = percentage;
|
vm.uploadProgress = praseInt(percentage * 100);
|
||||||
});
|
});
|
||||||
|
|
||||||
var tagAutoCompleteList = [];
|
var tagAutoCompleteList = [];
|
||||||
|
@ -147,7 +147,7 @@ require(["jquery", "avalon", "editor", "uploader", "bsAlert", "csrfToken", "tagE
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
function (file, percentage) {
|
function (file, percentage) {
|
||||||
vm.uploadProgress = percentage;
|
vm.uploadProgress = parseInt(percentage * 100);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -104,7 +104,7 @@
|
|||||||
<small class="text-info">请将所有测试用例打包在一个文件中上传,所有文件要在压缩包的根目录,且输入输出文件名要以从1开始连续数字标识要对应例如:<br>
|
<small class="text-info">请将所有测试用例打包在一个文件中上传,所有文件要在压缩包的根目录,且输入输出文件名要以从1开始连续数字标识要对应例如:<br>
|
||||||
1.in 1.out 2.in 2.out
|
1.in 1.out 2.in 2.out
|
||||||
</small>
|
</small>
|
||||||
<p>上传进度<span ms-text="uploadProgress * 100"></span>%</p>
|
<p>上传进度<span ms-text="uploadProgress"></span>%</p>
|
||||||
<table class="table table-striped" ms-visible="uploadSuccess">
|
<table class="table table-striped" ms-visible="uploadSuccess">
|
||||||
<tr>
|
<tr>
|
||||||
<td>编号</td>
|
<td>编号</td>
|
||||||
|
@ -110,7 +110,7 @@
|
|||||||
<small class="text-info">请将所有测试用例打包在一个文件中上传,所有文件要在压缩包的根目录,且输入输出文件名要以从1开始连续数字标识要对应例如:<br>
|
<small class="text-info">请将所有测试用例打包在一个文件中上传,所有文件要在压缩包的根目录,且输入输出文件名要以从1开始连续数字标识要对应例如:<br>
|
||||||
1.in 1.out 2.in 2.out
|
1.in 1.out 2.in 2.out
|
||||||
</small>
|
</small>
|
||||||
<p>上传进度<span ms-text="uploadProgress * 100"></span>%</p>
|
<p>上传进度<span ms-text="uploadProgress"></span>%</p>
|
||||||
<table class="table table-striped" ms-visible="uploadSuccess">
|
<table class="table table-striped" ms-visible="uploadSuccess">
|
||||||
<tr>
|
<tr>
|
||||||
<td>编号</td>
|
<td>编号</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user