Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite

This commit is contained in:
X1627315083
2025-10-27 15:53:02 +08:00

View File

@@ -333,21 +333,24 @@ export default defineComponent({
return data
},
deleteShow(value:any){
deleteShow(v:any){
// this.options
this.labelBor = false
for(let index = 0; index<value.length; index++){
if(value[index].checkAll){
this.labelBor = true
// break
return
const call = (value:any)=> {
for(let index = 0; index<value.length; index++){
if(value[index].checkAll){
this.labelBor = true
// break
return
}
if(value[index].childList != null){
call(value[index].childList)
}
}
if(value[index].childList != null){
this.deleteShow(value[index].childList)
}
}
};
call(v)
}
}
},
})
</script>
<style lang="less">