DataFront/pages/data.vue
2023-08-27 15:18:02 +08:00

18 lines
344 B
Vue

<script setup lang="ts">
import {useRoute,useRouter} from "vue-router";
const route = useRoute()
const router = useRouter()
//检查访问的数据库是否为空,重定向
if (route.params.WebName==undefined){
router.push("/data/all")
}
</script>
<template>
Data father {{}}
<NuxtPage></NuxtPage>
</template>
<style scoped>
</style>