|
|
@@ -369,8 +369,13 @@ export default {
|
|
|
},
|
|
|
// 正常流程
|
|
|
normalFlow(res) {
|
|
|
- this.runD2(100, false, () => {
|
|
|
+ if (this.d2timer) {
|
|
|
clearTimeout(this.d2timer);
|
|
|
+ }
|
|
|
+ this.runD2(100, false, () => {
|
|
|
+ if (this.d2timer) {
|
|
|
+ clearTimeout(this.d2timer);
|
|
|
+ }
|
|
|
this.d2running = false;
|
|
|
this.d2count = 0;
|
|
|
this.uploadImgTotal = 0;
|
|
|
@@ -548,14 +553,14 @@ export default {
|
|
|
z-index: 9998;
|
|
|
}
|
|
|
.uploadImgDemo {
|
|
|
- width: 90%;
|
|
|
+ width: 95%;
|
|
|
position: fixed;
|
|
|
top: 50%;
|
|
|
left: 50%;
|
|
|
transform: translate(-50%, -50%);
|
|
|
z-index: 9999;
|
|
|
background: #fff;
|
|
|
- padding: 10px 0;
|
|
|
+ padding: 10px 5px;
|
|
|
}
|
|
|
.uploadImgDemo .ring-area {
|
|
|
display: none;
|