mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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,
|
||||
onMountedOrActivated,
|
||||
} from '@vant/use';
|
||||
import { onPopupReopen } from '../composables/on-popup-reopen';
|
||||
|
||||
// Components
|
||||
import { Icon } from '../icon';
|
||||
@ -171,6 +172,7 @@ export default defineComponent({
|
||||
}, ms);
|
||||
};
|
||||
|
||||
onPopupReopen(start);
|
||||
onMountedOrActivated(start);
|
||||
|
||||
// fix cache issues with forwards and back history in safari
|
||||
|
Loading…
x
Reference in New Issue
Block a user