feat:【报表】增加 GoView 自动登录

(cherry picked from commit 1af6f95fc9a1575109d290a3301d6135fb3c4494)
This commit is contained in:
YunaiV 2025-05-03 11:47:31 +08:00 committed by dengqichen
parent 1cfae11500
commit 928dfb3c6d

View File

@ -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>