|
@@ -209,7 +209,7 @@ export default {
|
|
|
},
|
|
|
onSelectAllChange (val) {
|
|
|
if (val) {
|
|
|
- this.paramsSelection = this.paramsSelection.concat(this.paramsList.map(e => e.name)).flat()
|
|
|
+ this.paramsSelection = [...new Set(this.paramsSelection.concat(this.paramsList.map(e => e.name)))]
|
|
|
} else {
|
|
|
this.paramsSelection = this.paramsSelection.filter(e => !this.paramsList.map(e => e.name).includes(e))
|
|
|
}
|