This commit is contained in:
sjl
2025-10-24 11:17:18 +08:00
parent f41af33413
commit d113df832d
6 changed files with 60 additions and 20 deletions

View File

@@ -63,7 +63,7 @@ const info = () => {
nextTick(() => {
if (arr3.length) {
//初始化选中
treRef.value.treeRef1.setCurrentKey(arr3[0].id)
treRef.value.treeRef.setCurrentKey(arr3[0].id)
// 注册父组件事件
emit('init', {
level: 2,

View File

@@ -24,8 +24,6 @@
@node-click="handleNodeClick"
:default-checked-keys="defaultCheckedKeys"
v-bind='$attrs'
>
<template #default='{ node, data }'>
<span class='custom-tree-node'>