src/views/report/jmreport/index.vue
@@ -4,10 +4,10 @@ </ContentWrap> </template> <script lang="ts" setup> import { getAccessToken } from '@/utils/auth' import {getAccessToken, getTenantId} from '@/utils/auth' defineOptions({ name: 'JimuReport' }) const BASE_URL = import.meta.env.VITE_BASE_URL const src = ref(BASE_URL + '/jmreport/list?token=' + getAccessToken()) const src = ref(BASE_URL + '/jmreport/list?token=' + getAccessToken() + "&tenantId=" + getTenantId()) </script>