提交 | 用户 | 时间 | ||
820397 | 1 | <template> |
H | 2 | <ContentWrap> |
3 | <IFrame :src="src" /> | |
4 | </ContentWrap> | |
5 | </template> | |
6 | <script lang="ts" setup> | |
c571a2 | 7 | import {getAccessToken, getTenantId} from "@/utils/auth"; |
H | 8 | |
820397 | 9 | defineOptions({ name: 'GoView' }) |
H | 10 | |
c571a2 | 11 | const BASE_URL = import.meta.env.VITE_BASE_URL |
H | 12 | const src = ref(BASE_URL + '/project/items?token=' + getAccessToken() + "&tenantId=" + getTenantId()) |
820397 | 13 | </script> |