参考 qiita.com created に addEventListener と Vue 特有の beforeRouteLeave がある Window Add Event Listener の before unload に confirm を登録する とりあえず moutned で確認を仕込む この記事を見ると、window.addEventListener で beforeunload …
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.