zhaoxuebing
9 months ago
2 changed files with 23 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||
|
<template> |
||||
|
<ContentWrap> |
||||
|
<IFrame :src="src" /> |
||||
|
</ContentWrap> |
||||
|
</template> |
||||
|
<script lang="ts" setup> |
||||
|
defineOptions({ name: 'GoView' }) |
||||
|
|
||||
|
const src = 'http://127.0.0.1:3000' |
||||
|
</script> |
@ -0,0 +1,13 @@ |
|||||
|
<template> |
||||
|
<ContentWrap> |
||||
|
<IFrame :src="src" /> |
||||
|
</ContentWrap> |
||||
|
</template> |
||||
|
<script lang="ts" setup> |
||||
|
import { getAccessToken } from '@/utils/auth' |
||||
|
|
||||
|
defineOptions({ name: 'JimuReport' }) |
||||
|
|
||||
|
const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL |
||||
|
const src = ref(BASE_URL + '/jmreport/list?token=' + getAccessToken()) |
||||
|
</script> |
Loading…
Reference in new issue