mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
修复流程返回路由错乱的bug
This commit is contained in:
@@ -5,15 +5,9 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const emit = defineEmits<{ close: [] }>();
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
const onCancel = () => {
|
||||
// TODO 刷新父页面
|
||||
router.go(-1);
|
||||
emit('close');
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user