提交 | 用户 | 时间
|
e7305d
|
1 |
<template> |
H |
2 |
<div class="sub-app"> |
|
3 |
<WujieVue width="100%" height="100%" :name="name" :url="url" :alive="true" sync /> |
|
4 |
</div> |
|
5 |
</template> |
|
6 |
<script lang="ts" setup> |
|
7 |
import { getUrl } from '@/utils/micors' |
|
8 |
const router: any = useRouter() |
|
9 |
const url = computed(() => getUrl(router.currentRoute.value.name)) |
|
10 |
const name = computed(() => router.currentRoute.value.name) |
|
11 |
</script> |
|
12 |
<style scoped lang="scss"> |
|
13 |
.sub-app { |
|
14 |
height: 100%; |
|
15 |
width: 100%; |
|
16 |
.wujie_iframe { |
|
17 |
height: 100%; |
|
18 |
} |
|
19 |
} |
|
20 |
</style> |