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