Browse Source

fix:部分错误修正

temp
chenpingsen 3 months ago
parent
commit
e9b8581aab
  1. 4
      hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.vue
  2. 3
      hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/components/fanControl.vue

4
hx-ai-intelligent/src/view/equipmentControl/lightingManage/tabs1.vue

@ -305,7 +305,7 @@
() => props.treeData, () => props.treeData,
(newValue) => { (newValue) => {
// //
buttons2.value = newValue[0].childList; // buttons2.value = newValue[0].childList;
}, },
{ {
deep: true, deep: true,
@ -332,6 +332,8 @@
selectedButton.value = button.id; selectedButton.value = button.id;
// //
buttons2.value = button.childList; buttons2.value = button.childList;
alert(111);
console.log(buttons2.value, '11111111111111');
// //
emit('reset'); emit('reset');
// //

3
hx-ai-intelligent/src/view/equipmentControl/ventilationSystem/components/fanControl.vue

@ -293,7 +293,7 @@
() => props.treeData, () => props.treeData,
(newValue) => { (newValue) => {
// //
buttons2.value = newValue[0].childList; // buttons2.value = newValue[0].childList;
}, },
{ {
deep: true, deep: true,
@ -640,7 +640,6 @@
data.selected = true; data.selected = true;
// 1-1 // 1-1
buttons2.value = data.childList; buttons2.value = data.childList;
console.log(buttons2.value, '222222222222222222222222');
resetMode(); resetMode();
} }
changeList.value = []; changeList.value = [];

Loading…
Cancel
Save