Open liruixiang321 opened 6 days ago
感觉是由于出现loading时内部使用将子组件卸载了,就无法再复原了
loading时子组件被卸载了
子组件被卸载了,所以emit直接return了。
export function emit(
instance: ComponentInternalInstance,
event: string,
...rawArgs: any[]
): ComponentPublicInstance | null | undefined {
if (instance.isUnmounted) return
Version
4.2.6
Environment
"ant-design-vue": "^3.2.5", "vue": "^3.2.36"
Reproduction link
Steps to reproduce
点击按钮
What is expected?
2秒后loading消失
What is actually happening?
2秒后loading未消失