<script lang="ts" setup>
import { useRouter } from '@/hooks/router'
const router = useRouter()
const jumpDetail = () => {
router.push('/pagesB/detail/index?page=1&limit=20')
}
</script>
<template>
<view class="_u_center">
<view>Test2</view>
<button @click="jumpDetail">Detail →</button>
</view>
</template>
<style scoped></style>