Pre Merge pull request !236 from 岁月不经谈/N/A

pull/236/MERGE
岁月不经谈 2023-09-05 10:14:43 +00:00 committed by Gitee
commit f977500b06
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 5 additions and 0 deletions

View File

@ -51,6 +51,11 @@ const handleNodeClick = async (row: { [key: string]: any }) => {
}
const emits = defineEmits(['node-click'])
/** 监听deptName */
watch(deptName, (val) => {
treeRef.value!.filter(val)
})
/** 初始化 */
onMounted(async () => {
await getTree()