页面返回

This commit is contained in:
仲么了
2024-03-08 11:04:15 +08:00
parent 50bbba807f
commit 77dce3cf18
2 changed files with 8 additions and 3 deletions

View File

@@ -1,7 +1,9 @@
<template>
<h1>暂降事件查询</h1>
<h1>{{ id }}</h1>
<el-button type='primary' @click='go(-1)' class='ml10'>返回</el-button>
<div>
<h1>暂降事件查询</h1>
<h1>{{ id }}</h1>
<el-button type='primary' @click='go(-1)' class='ml10'>返回</el-button>
</div>
</template>
<script setup lang='ts'>
import { useRouter, useRoute } from 'vue-router'

View File

@@ -40,6 +40,9 @@ import { onMounted, provide, ref } from 'vue'
import { useRouter } from 'vue-router'
import { deleteSgUser } from '@/api/advance-boot/sgGroven/sgUser'
defineOptions({
name: 'businessUser'
})
import UserPopup from './userPopup.vue'