index.vue 321 B

12345678910111213
  1. <template>
  2. <ContentWrap>
  3. <IFrame :src="src" />
  4. </ContentWrap>
  5. </template>
  6. <script lang="ts" setup>
  7. import { getAccessToken } from '@/utils/auth'
  8. defineOptions({ name: 'Ureport' })
  9. const BASE_URL = import.meta.env.VITE_BASE_URL
  10. const src = ref(BASE_URL + '/ureport/designer?token=' + getAccessToken())
  11. </script>