index.vue 401 B

123456789101112131415
  1. <template>
  2. <ContentWrap>
  3. <doc-alert title="报表设计器" url="https://doc.iocoder.cn/report/" />
  4. <IFrame :src="src" />
  5. </ContentWrap>
  6. </template>
  7. <script lang="ts" setup>
  8. import { getAccessToken } from '@/utils/auth'
  9. defineOptions({ name: 'JimuReport' })
  10. const BASE_URL = import.meta.env.VITE_BASE_URL
  11. const src = ref(BASE_URL + '/jmreport/list?token=' + getAccessToken())
  12. </script>