vue beforeunload safari auto triggered

i have trouble when my vue app launch in safari its fires beforeunload event for no reason

in other browsers its all good

i call this event on created hook in my app.vue file. So maybe someone who fidure with that can help me to avoid this

created() {
  window.addEventListener('beforeunload', (e) => {}
}

Ответы (0 шт):