feat:【报表】增加 GoView 自动登录
This commit is contained in:
@ -6,7 +6,11 @@
|
|||||||
</ContentWrap>
|
</ContentWrap>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
import { getRefreshToken } from '@/utils/auth'
|
||||||
|
|
||||||
defineOptions({ name: 'GoView' })
|
defineOptions({ name: 'GoView' })
|
||||||
|
|
||||||
const src = ref(import.meta.env.VITE_GOVIEW_URL)
|
const src = ref(
|
||||||
|
`${import.meta.env.VITE_GOVIEW_URL}?accessToken=${getRefreshToken()}&refreshToken=${getRefreshToken()}`
|
||||||
|
)
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user