提交 | 用户 | 时间 | ||
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 | |
aee989 | 11 | const BASE_URL = 'http://172.16.8.100' |
H | 12 | const src = ref(BASE_URL + '/bigscreen/project/items?token=' + getAccessToken() + "&tenantId=" + getTenantId()) |
13 | ||
820397 | 14 | </script> |