Skip to content

Commit 1af6f95

Browse files
committed
feat:【报表】增加 GoView 自动登录
1 parent 93056fa commit 1af6f95

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/views/report/goview/index.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
</ContentWrap>
77
</template>
88
<script lang="ts" setup>
9+
import { getRefreshToken } from '@/utils/auth'
10+
911
defineOptions({ name: 'GoView' })
1012
11-
const src = ref(import.meta.env.VITE_GOVIEW_URL)
13+
const src = ref(
14+
`${import.meta.env.VITE_GOVIEW_URL}?accessToken=${getRefreshToken()}&refreshToken=${getRefreshToken()}`
15+
)
1216
</script>

0 commit comments

Comments
 (0)