vue3路由跳转
const router = useRouter(); function goTask(data) { let path = "/zxwork/week"; router.push({ path: path, query: { id: row.id,// 要传的参数 },
}); }