解决便携式设备角色没有治理树id取值失败问题
This commit is contained in:
@@ -176,12 +176,12 @@ const changeDevice = (val: any) => {
|
||||
arr2.map(item => {
|
||||
item.checked = false
|
||||
})
|
||||
treeRef1.value.setCurrentKey(arr1[0].id)
|
||||
treeRef1.value.setCurrentKey(arr1[0]?.id)
|
||||
} else {
|
||||
arr1.map(item => {
|
||||
item.checked = false
|
||||
})
|
||||
treeRef2.value.setCurrentKey(arr2[0].id)
|
||||
treeRef2.value.setCurrentKey(arr2[0]?.id)
|
||||
}
|
||||
}
|
||||
const onMenuCollapse = () => {
|
||||
|
||||
Reference in New Issue
Block a user