修改测试bug

This commit is contained in:
guanj
2026-06-08 18:34:49 +08:00
parent 4f907a80c4
commit 03d302ded8
133 changed files with 3991 additions and 3442 deletions

View File

@@ -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>