|
@@ -143,7 +143,7 @@ export default {
|
|
|
let result = JSON.parse(JSON.stringify(this.result));
|
|
|
if (select) {//判断是否选中,选中的取消,关联id删除,未选中判断是否互斥
|
|
|
for (let i = 0; i < result.length; i++) {
|
|
|
- if(i == idx){
|
|
|
+ if(i == idx && result[i].value == '' || +exclusion === 1){
|
|
|
result[i].select = false
|
|
|
}
|
|
|
}
|
|
@@ -169,6 +169,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
this.result = result
|
|
|
+ console.log(this.result);
|
|
|
}
|
|
|
},
|
|
|
components:{
|