修改测试bug
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
/> -->
|
||||
<div class="cn-tree" :style="{ opacity: menuCollapse ? 0 : 1 }">
|
||||
<div style="display: flex; align-items: center" class="mb10">
|
||||
<el-input
|
||||
maxlength="32"
|
||||
<el-input maxlength="32" show-word-limit
|
||||
|
||||
v-model.trim="filterText"
|
||||
autocomplete="off"
|
||||
placeholder="请输入内容"
|
||||
@@ -202,10 +202,10 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
leafMode: 'line'
|
||||
})
|
||||
|
||||
const treeType = ref('1')
|
||||
const treeType = ref('2')
|
||||
const options = [
|
||||
{ label: '工程', value: '2' },
|
||||
{ label: '设备', value: '1' },
|
||||
{ label: '工程', value: '2' }
|
||||
]
|
||||
|
||||
const { proxy } = useCurrentInstance()
|
||||
@@ -379,7 +379,7 @@ const changeTreeType = (val: string) => {
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
treeType.value = props.engineering ? '2' : '1'
|
||||
// treeType.value = props.engineering ? '2' : '1'
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user