<script setup>
// 跳路由
import router from "@/router/index"
// 获取路由参数
import { useRoute } from 'vue-router'
const route = useRoute()


const routerpath = () => {
    router.push('/Find')
    console.log(route.query.id);
    console.log(route.params.id);
}

Logo

前往低代码交流专区

更多推荐