1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

fix(Popup): transition-appear prop not work

This commit is contained in:
chenjiahan 2020-11-27 22:09:24 +08:00
parent 1a63d586b1
commit dd69305335
2 changed files with 1 additions and 2 deletions
src
notify/test/__snapshots__
popup

@ -4,7 +4,6 @@ exports[`should render Notify correctly 1`] = `
<div
class="van-popup van-popup--top van-notify van-notify--danger van-popup-slide-top-enter-active van-popup-slide-top-enter-from"
style="z-index: 2001; transition-duration: 0.2s;"
transitionappear="false"
>
test

@ -226,7 +226,7 @@ export default createComponent({
return (
<Transition
name={transition || name}
transitionAppear={transitionAppear}
appear={transitionAppear}
onAfterEnter={onOpened}
onAfterLeave={onClosed}
>