修改bug

This commit is contained in:
Teo
2025-08-13 19:47:46 +08:00
parent 2879a0243e
commit 544cc07862
8 changed files with 769 additions and 13 deletions

View File

@ -15,6 +15,9 @@
<script setup lang="ts">
import { propTypes } from '@/utils/propTypes';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const route = useRoute();
const router = useRouter();
const props = defineProps({
status: propTypes.string.def(''),
pageType: propTypes.string.def(''),
@ -50,7 +53,7 @@ const approvalButtonShow = computed(() => {
//返回
const goBack = () => {
proxy.$tab.closePage(proxy.$route);
proxy.$router.go(-1);
proxy.$tab.closePage(route);
router.go(-1);
};
</script>