mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-29 20:29:46 +08:00
fix(NoticeBar): failed to play when inside a re-opened popup (#8789)
This commit is contained in:
parent
e49a519e43
commit
a245da15cf
@ -11,6 +11,7 @@ import {
|
|||||||
useEventListener,
|
useEventListener,
|
||||||
onMountedOrActivated,
|
onMountedOrActivated,
|
||||||
} from '@vant/use';
|
} from '@vant/use';
|
||||||
|
import { onPopupReopen } from '../composables/on-popup-reopen';
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { Icon } from '../icon';
|
import { Icon } from '../icon';
|
||||||
@ -171,6 +172,7 @@ export default defineComponent({
|
|||||||
}, ms);
|
}, ms);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
onPopupReopen(start);
|
||||||
onMountedOrActivated(start);
|
onMountedOrActivated(start);
|
||||||
|
|
||||||
// fix cache issues with forwards and back history in safari
|
// fix cache issues with forwards and back history in safari
|
||||||
|
Loading…
x
Reference in New Issue
Block a user