mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
19 lines
320 B
Vue
19 lines
320 B
Vue
<template>
|
|
<div></div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
|
|
const { query } = useRoute();
|
|
const router = useRouter();
|
|
|
|
function init() {
|
|
const redirect = (query.redirectUrl as string) || '/';
|
|
router.replace(redirect);
|
|
}
|
|
|
|
init();
|
|
</script>
|
|
<style scoped></style>
|