fix:部分错误修正
This commit is contained in:
@@ -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');
|
||||
// 设置选中按钮状态
|
||||
|
@@ -293,7 +293,7 @@
|
||||
() => props.treeData,
|
||||
(newValue) => {
|
||||
// 重新为照明回路赋值
|
||||
buttons2.value = newValue[0].childList;
|
||||
// buttons2.value = newValue[0].childList;
|
||||
},
|
||||
{
|
||||
deep: true,
|
||||
@@ -640,7 +640,6 @@
|
||||
data.selected = true;
|
||||
// 默认选中 1-1 分区 回路
|
||||
buttons2.value = data.childList;
|
||||
console.log(buttons2.value, '222222222222222222222222');
|
||||
resetMode();
|
||||
}
|
||||
changeList.value = [];
|
||||
|
Reference in New Issue
Block a user