fix(components): [loading] complete destroy vLoading directive unmounted (#15393)

This commit is contained in:
xiaoming 2024-01-07 16:02:39 +08:00 committed by GitHub
parent 1b7dfacfcb
commit 78c5f81651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,5 +91,6 @@ export const vLoading: Directive<ElementLoading, LoadingBinding> = {
},
unmounted(el) {
el[INSTANCE_KEY]?.instance.close()
el[INSTANCE_KEY] = null
},
}