2023-03-08 10:02:46 +08:00

17 lines
422 B
Vue

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