1122
This commit is contained in:
13
cdTMP/src/views/redirect/index.vue
Normal file
13
cdTMP/src/views/redirect/index.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useRouter, useRoute } from "vue-router"
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
const gotoPath = route.params.path as string
|
||||
router.replace({ path: gotoPath })
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped></style>
|
||||
Reference in New Issue
Block a user