| | |
| | | </div> |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import { getUrl } from '@/utils/micors' |
| | | const router: any = useRouter() |
| | | const url = computed(() => getUrl(router.currentRoute.value.name)) |
| | | const name = computed(() => router.currentRoute.value.name) |
| | | import hostMap from "@/utils/hostMap"; |
| | | import wujieVue from "wujie-vue3"; |
| | | const route = useRoute() |
| | | const url = hostMap("//localhost:90/") + route.params.path |
| | | const name = 'fast' |
| | | watch(() => "$route.params.path", |
| | | () => { |
| | | wujieVue.bus.$emit("vue3-router-change", `/${route.params.path}`); |
| | | }, |
| | | { |
| | | immediate: true |
| | | } |
| | | ) |
| | | </script> |
| | | <style scoped lang="scss"> |
| | | .sub-app { |