You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
476 B
Vue
16 lines
476 B
Vue
<template>
|
|
|
|
|
|
<ContentWrap :bodyStyle="{ padding: '0px' }" class="!mb-0">
|
|
<IFrame :src="src" />
|
|
</ContentWrap>
|
|
</template>
|
|
<script lang="ts" setup>
|
|
import { getRefreshToken } from '@/utils/auth'
|
|
|
|
defineOptions({ name: 'JimuReport' })
|
|
|
|
// 使用 getRefreshToken() 方法,而不使用 getAccessToken() 方法的原因:积木报表无法方便的刷新访问令牌
|
|
const src = ref(import.meta.env.VITE_BASE_URL + '/jmreport/list?token=' + getRefreshToken())
|
|
</script>
|