mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-08 16:32:43 +08:00
feat:【报表】增加 GoView 自动登录
This commit is contained in:
parent
93056fa57b
commit
1af6f95fc9
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user