云前置改成在线

This commit is contained in:
sjl
2025-10-14 09:51:42 +08:00
parent a3b6a5c0be
commit 82838eccaa
6 changed files with 11 additions and 11 deletions

View File

@@ -99,7 +99,7 @@
</template>
</el-tree>
</el-collapse-item>
<el-collapse-item title="云前置设备" name="2" v-if="frontDeviceData.length != 0">
<el-collapse-item title="在线设备" name="2" v-if="frontDeviceData.length != 0">
<el-tree
:style="{ height: zlDeviceData.length != 0 ? 'calc(100vh - 280px)' : 'calc(100vh - 238px)' }"
ref="treeRef3"
@@ -181,7 +181,7 @@ watch(
item.children.map((vv: any) => {
bxsDeviceData.value.push(vv)
})
}else if (item.name == '云前置设备') {
}else if (item.name == '在线设备') {
item.children.map((vv: any) => {
frontDeviceData.value.push(vv)
})