Skip to content

Commit

Permalink
fix: vue-router import
Browse files Browse the repository at this point in the history
  • Loading branch information
dest1n1s committed Aug 23, 2023
1 parent 906fe79 commit 35d25ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<script setup lang="ts">
import Layout from '@/components/layout/Layout.vue'
import { onBeforeRouteUpdate } from 'vue-router'
import { onBeforeRouteUpdate } from 'vue-router/auto'
onBeforeRouteUpdate((to, from, next) => {
if (from.query.type && !to.query.type) {
Expand Down

0 comments on commit 35d25ea

Please sign in to comment.