关闭ant design vue某个组件的动效

299 阅读1分钟

解决方案

将组件的transitionName属性设置为空字符串即可

a-popover为例

<a-popover
    transition-name=""
>
</a-popover>

参考资料

Modal弹框设置transitionName后无法关闭 · Issue #29626 · ant-design/ant-design · GitHub