14 lines
321 B
Vue
Raw Normal View History

2023-11-20 23:32:54 +08:00
<template>
<ContentWrap>
2023-11-22 22:09:48 +08:00
<IFrame :src="src" />
2023-11-20 23:32:54 +08:00
</ContentWrap>
</template>
2023-11-22 22:09:48 +08:00
<script lang="ts" setup>
import { getAccessToken } from '@/utils/auth'
2023-11-20 23:32:54 +08:00
2023-11-22 22:09:48 +08:00
defineOptions({ name: 'Ureport' })
2023-11-20 23:32:54 +08:00
2023-11-22 22:09:48 +08:00
const BASE_URL = import.meta.env.VITE_BASE_URL
const src = ref(BASE_URL + '/ureport/designer?token=' + getAccessToken())
</script>