feat:【报表】增加 GoView 自动登录
parent
dcecde0967
commit
42c99639b9
|
@ -2,13 +2,18 @@
|
|||
import { ref } from 'vue';
|
||||
|
||||
import { Page } from '@vben/common-ui';
|
||||
import { useAccessStore } from '@vben/stores';
|
||||
|
||||
import { DocAlert } from '#/components/doc-alert';
|
||||
import { IFrame } from '#/components/iframe';
|
||||
|
||||
defineOptions({ name: 'GoView' });
|
||||
|
||||
const src = ref(import.meta.env.VITE_GOVIEW_URL);
|
||||
const accessStore = useAccessStore();
|
||||
|
||||
const src = ref(
|
||||
`${import.meta.env.VITE_GOVIEW_URL}?accessToken=${accessStore.accessToken}&refreshToken=${accessStore.refreshToken}`,
|
||||
);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Reference in New Issue