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>