From c571a200bb83fc930b0101ed8462924be2b823a9 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期四, 28 十一月 2024 16:19:33 +0800 Subject: [PATCH] 新增大屏设计器goview页面配置 --- src/views/report/goview/index.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/views/report/goview/index.vue b/src/views/report/goview/index.vue index 1bac286..340da7d 100644 --- a/src/views/report/goview/index.vue +++ b/src/views/report/goview/index.vue @@ -4,7 +4,10 @@ </ContentWrap> </template> <script lang="ts" setup> +import {getAccessToken, getTenantId} from "@/utils/auth"; + defineOptions({ name: 'GoView' }) -const src = 'http://127.0.0.1:3000' +const BASE_URL = import.meta.env.VITE_BASE_URL +const src = ref(BASE_URL + '/project/items?token=' + getAccessToken() + "&tenantId=" + getTenantId()) </script> -- Gitblit v1.9.3