|
@@ -395,9 +395,9 @@ export default {
|
|
|
},
|
|
|
handleCheckedTargetChange(value) {
|
|
|
let checkedCount = value.length;
|
|
|
- this.checkAll = checkedCount === this.form.targetFilter.length;
|
|
|
- this.isIndeterminate =
|
|
|
- checkedCount > 0 && checkedCount < this.targetOptions.length;
|
|
|
+ this.checkAll = (checkedCount != 0) && (checkedCount === this.form.targetFilter.length);
|
|
|
+ // this.checkAll = checkedCount === this.form.targetFilter.length;
|
|
|
+ this.isIndeterminate = checkedCount > 0 && checkedCount < this.targetOptions.length;
|
|
|
},
|
|
|
inputChange() {
|
|
|
if (
|