<script setup lang="ts">
defineOptions({
  name: 'DoWorkParent',
})

// const router = useRouter()
// onBeforeRouteUpdate((to: any, from: any) => {
//     // if (to.path === from.path) {
//     //     return;
//     // }
//     if (to.path === '/subject/doWork') {
//         router.back()
//     }
// })
</script>
<template>
  <router-view :key="$route.fullPath"></router-view>
</template>
