|
@@ -530,9 +530,10 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- if(selectindex){
|
|
|
|
|
|
+ console.log(selectindex)
|
|
|
|
+ if(selectindex ||selectindex==0){
|
|
this.treeData.forEach((ele,index)=>{
|
|
this.treeData.forEach((ele,index)=>{
|
|
- if(ele.value!=val[0]){
|
|
|
|
|
|
+ if(index!=selectindex){
|
|
ele.disableCheckbox = true;
|
|
ele.disableCheckbox = true;
|
|
if(ele.children){
|
|
if(ele.children){
|
|
ele.children.map((item,ind)=>{
|
|
ele.children.map((item,ind)=>{
|