|
|
@ -305,7 +305,7 @@ |
|
|
|
() => props.treeData, |
|
|
|
(newValue) => { |
|
|
|
// 重新为照明回路赋值 |
|
|
|
buttons2.value = newValue[0].childList; |
|
|
|
// buttons2.value = newValue[0].childList; |
|
|
|
}, |
|
|
|
{ |
|
|
|
deep: true, |
|
|
@ -332,6 +332,8 @@ |
|
|
|
selectedButton.value = button.id; |
|
|
|
// 设置当前选中的回路 |
|
|
|
buttons2.value = button.childList; |
|
|
|
alert(111); |
|
|
|
console.log(buttons2.value, '11111111111111'); |
|
|
|
// 重置按钮状态 |
|
|
|
emit('reset'); |
|
|
|
// 设置选中按钮状态 |
|
|
|