We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b93b19 commit 6fa303fCopy full SHA for 6fa303f
src/router-mixin.ts
@@ -64,7 +64,7 @@ export default {
64
}
65
66
const to = (this.$router as RouterService).getNewRoute();
67
- const from = (this.$router as RouterService).getCurrentRoute();
+ const from = (this.$router as RouterService).getPreviousRoute();
68
69
if (this.$options.beforeRouteLeave) {
70
this.$options.beforeRouteLeave.call(
@@ -92,7 +92,7 @@ export default {
92
93
onNavigatingTo(data) {
94
95
96
97
if (this.$options.beforeRouteUpdate && to && from && to.path === from.path) {
98
this.$options.beforeRouteUpdate.call(
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments