wujingjing
2024-08-29 5aa0c12bd6f08fcd3cc940cdc6f8788d4ffcd227
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<template>
    <el-card shadow="hover" :body-style="{ paddingBottom: '0' }" class="h100 right-card w100">
        <div style="background-color: #fff; margin-bottom: 10px">
            <el-button
                icon="ele-ArrowLeft"
                text
                style="margin-right: 10px; margin-left: 1px; width: 40px"
                size="small"
                @click="handleExitFlow"
            >
            </el-button>
            <span class="titlebox">{{ state.detailTitle }}</span>
        </div>
    </el-card>
</template>
 
<script setup lang="ts">
import { reactive } from 'vue';
import { useRouter } from 'vue-router';
// 定义变量内容
const state = reactive({
    detailTitle: '',
});
const router = useRouter();
//返回
const handleExitFlow = () => {
    //是否显示返回
    router.back();
};
</script>
<style scoped lang="scss"></style>