1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| <template>
| <div class="sub-app">
| <WujieVue width="100%" height="100%" :name="name" :url="url" :alive="true" sync />
| </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)
| </script>
| <style scoped lang="scss">
| .sub-app {
| height: 100%;
| width: 100%;
| .wujie_iframe {
| height: 100%;
| }
| }
| </style>
|
|