|
|
@@ -488,14 +488,13 @@ export default {
|
|
|
const offset = 251.2 * (1 - this.d2count / this.uploadImgTotal);
|
|
|
document.getElementById('d2ring').style.strokeDashoffset = offset;
|
|
|
document.getElementById('d2sub').textContent = `${this.d2count}/${this.uploadImgTotal}`;
|
|
|
- if (this.d2count >= Math.floor(this.uploadImgTotal * 0.7)) {
|
|
|
+ if (this.d2count >= Math.floor(this.uploadImgTotal * 0.8)) {
|
|
|
clearTimeout(this.d2timer);
|
|
|
return;
|
|
|
}
|
|
|
this.runD2(delay);
|
|
|
}, delay);
|
|
|
} else {
|
|
|
- document.getElementById(`dot${this.d2count - 1}`).className = 'ring-dot done';
|
|
|
document.getElementById(`dot${this.d2count}`).className = 'ring-dot active';
|
|
|
document.getElementById('d2name').textContent = '正在上传。。。';
|
|
|
document.getElementById('d2pct').textContent = '30%';
|