From 31da01bdd1e4fe8fb8eec41f401d73bcf6cc18b7 Mon Sep 17 00:00:00 2001 From: ahao <liuhaoai545@gmail.com> Date: 星期六, 06 一月 2024 17:27:01 +0800 Subject: [PATCH] fix https://gitee.com/dromara/RuoYi-Vue-Plus/issues/I8TMAI --- src/views/redirect/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/redirect/index.vue b/src/views/redirect/index.vue index 15401f8..97a6556 100644 --- a/src/views/redirect/index.vue +++ b/src/views/redirect/index.vue @@ -3,12 +3,12 @@ </template> <script setup> -import { useRoute, useRouter } from 'vue-router' +import { useRoute, useRouter } from 'vue-router'; const route = useRoute(); const router = useRouter(); -const { params, query } = route -const { path } = params +const { params, query } = route; +const { path } = params; -router.replace({ path: '/' + path, query }) +router.replace({ path: '/' + path, query }); </script> -- Gitblit v1.9.3