解决折叠面板绑定值导致设备监控便携式设备顶部按钮显示异常问题
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
<div class="cn-tree" :style="{ opacity: menuCollapse ? 0 : 1 }">
|
||||
<div style="display: flex; align-items: center" class="mb10">
|
||||
<!-- <el-form-item> -->
|
||||
<el-input v-model="filterText"
|
||||
autocomplete="off" placeholder="请输入内容" clearable>
|
||||
<el-input v-model="filterText" autocomplete="off" placeholder="请输入内容" clearable>
|
||||
<template #prefix>
|
||||
<Icon name="el-icon-Search" style="font-size: 16px" />
|
||||
</template>
|
||||
@@ -190,7 +189,8 @@ const changeDevice = (val: any) => {
|
||||
})
|
||||
treeRef1.value && treeRef1.value.setCurrentKey(arr1[0].id)
|
||||
emit('changeDeviceType', activeName.value, arr1[0])
|
||||
} else {
|
||||
}
|
||||
if (val == '1') {
|
||||
arr1.map((item: any) => {
|
||||
item.checked = false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user