From 8c52c6867fbc3f449fe5a3afbf1061918aa5a866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=AE=87=E5=BA=86?= Date: Mon, 9 Dec 2024 00:55:53 +0000 Subject: [PATCH] =?UTF-8?q?GoView=E5=9F=9F=E5=90=8D=E5=A4=96=E7=BD=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 杨宇庆 --- .env.dev | 3 +++ .env.local | 3 +++ .env.prod | 3 +++ .env.stage | 3 +++ .env.test | 3 +++ src/views/report/goview/index.vue | 2 +- types/env.d.ts | 1 + 7 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.env.dev b/.env.dev index 2008a002..dc7d2502 100644 --- a/.env.dev +++ b/.env.dev @@ -32,3 +32,6 @@ VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn' # 验证码的开关 VITE_APP_CAPTCHA_ENABLE=true + +# GoView域名 +VITE_GOVIEW_URL='http://127.0.0.1:3000' \ No newline at end of file diff --git a/.env.local b/.env.local index ad084700..35765584 100644 --- a/.env.local +++ b/.env.local @@ -29,3 +29,6 @@ VITE_MALL_H5_DOMAIN='http://localhost:3000' # 验证码的开关 VITE_APP_CAPTCHA_ENABLE=false + +# GoView域名 +VITE_GOVIEW_URL='http://127.0.0.1:3000' \ No newline at end of file diff --git a/.env.prod b/.env.prod index 8b78c415..ca7cb8e4 100644 --- a/.env.prod +++ b/.env.prod @@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-prod # 商城H5会员端域名 VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn' + +# GoView域名 +VITE_GOVIEW_URL='http://127.0.0.1:3000' \ No newline at end of file diff --git a/.env.stage b/.env.stage index 3d005c7b..084337c6 100644 --- a/.env.stage +++ b/.env.stage @@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-stage # 商城H5会员端域名 VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn' + +# GoView域名 +VITE_GOVIEW_URL='http://127.0.0.1:3000' \ No newline at end of file diff --git a/.env.test b/.env.test index 80f4c660..2252e146 100644 --- a/.env.test +++ b/.env.test @@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-test # 商城H5会员端域名 VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn' + +# GoView域名 +VITE_GOVIEW_URL='http://127.0.0.1:3000' \ No newline at end of file diff --git a/src/views/report/goview/index.vue b/src/views/report/goview/index.vue index 038b0624..78cac8b1 100644 --- a/src/views/report/goview/index.vue +++ b/src/views/report/goview/index.vue @@ -8,5 +8,5 @@ diff --git a/types/env.d.ts b/types/env.d.ts index 464dd5cf..124dd565 100644 --- a/types/env.d.ts +++ b/types/env.d.ts @@ -25,6 +25,7 @@ interface ImportMetaEnv { readonly VITE_DROP_CONSOLE: string readonly VITE_SOURCEMAP: string readonly VITE_OUT_DIR: string + readonly VITE_GOVIEW_URL: string } declare global {