north-glass-erp/northglass-erp/src/views/sd/delivery/Delivery.vue
@@ -1,6 +1,11 @@ <script setup> import {ArrowLeftBold, ArrowRight, Search} from "@element-plus/icons-vue" import {useRouter} from "vue-router"; import {useRouter,useRoute,onBeforeRouteUpdate} from "vue-router"; const router = useRouter() const route = useRoute() let indexFlag=$ref(1) function changeRouter(index){ indexFlag=index @@ -19,7 +24,7 @@ </div> <div id="main-body"> <router-view /> <router-view :key="route.fullPath" /> </div> </div> </template>