You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
491 B
26 lines
491 B
<template>
|
|
<div class="L-task-info">
|
|
<el-button type="primary" @click="sendBack" class="fanhuipiaofu" size="mini">返回</el-button>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
|
|
const route = useRoute();
|
|
const router = useRouter();
|
|
|
|
console.log('当前路由参数:', route.query);
|
|
|
|
const sendBack = () => {
|
|
router.go(-1);
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.fanhuipiaofu {
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 10px;
|
|
}
|
|
</style> |