File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -387,8 +387,8 @@ export default defineComponent({
387
387
info .every /= 1000 ;
388
388
}
389
389
390
- if (! info .limit ) {
391
- info .limit = undefined ;
390
+ if (! info .repeatCount ) {
391
+ info .repeatCount = undefined ;
392
392
}
393
393
394
394
const { setForm } = refs .value .form .open ({
@@ -431,7 +431,7 @@ export default defineComponent({
431
431
on: {
432
432
change : (v : number ) => {
433
433
if (v == 0 ) {
434
- setForm (" limit " , undefined );
434
+ setForm (" repeatCount " , undefined );
435
435
setForm (" every" , undefined );
436
436
} else {
437
437
setForm (" cron" , undefined );
@@ -456,7 +456,7 @@ export default defineComponent({
456
456
},
457
457
{
458
458
label: " 次数" ,
459
- prop: " limit " ,
459
+ prop: " repeatCount " ,
460
460
hidden : ({ scope }: any ) => {
461
461
return scope .taskType == 0 ;
462
462
},
@@ -554,8 +554,8 @@ export default defineComponent({
554
554
},
555
555
on: {
556
556
submit : (data : any , { close , done }: any ) => {
557
- if (! data .limit ) {
558
- data .limit = null ;
557
+ if (! data .repeatCount ) {
558
+ data .repeatCount = null ;
559
559
}
560
560
561
561
service .task .info [id ? " update" : " add" ]({
Original file line number Diff line number Diff line change 43
43
:on-error =" onError"
44
44
:on-progress =" onProgress"
45
45
:before-upload =" beforeUpload"
46
+ multiple
46
47
>
47
48
<el-button size =" mini" type =" primary" >点击上传</el-button >
48
49
</cl-upload >
You can’t perform that action at this time.
0 commit comments