feat(components): [tree-select] add instance type and improve test cleanup logic (#22499)

* feat(components): [tree-select] add instance

* chore: update

* chore: update test

Co-authored-by: btea <2356281422@qq.com>

* Update packages/components/tree-select/src/instance.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
This commit is contained in:
sea
2025-11-28 23:34:57 +08:00
committed by GitHub
parent 8d4d0514e7
commit adf4fbfb6b
6 changed files with 107 additions and 59 deletions

5
typings/env.d.ts vendored
View File

@@ -1,4 +1,3 @@
import type { vShow } from 'vue'
import type { INSTALLED_KEY } from '@element-plus/constants'
declare global {
@@ -25,10 +24,6 @@ declare module 'vue' {
export interface GlobalComponents {
Component: (props: { is: Component | string }) => void
}
export interface ComponentCustomProperties {
vShow: typeof vShow
}
}
export {}