Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
ecfe1b61
authored
Dec 19, 2024
by
芋道源码
Committed by
Gitee
Dec 19, 2024
Browse files
Options
Browse Files
Download
Plain Diff
!613 GoView域名外置配置文件
Merge pull request !613 from 杨宇庆/N/A
parents
1df1850e
8c52c686
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
1 deletions
+22
-1
.env.dev
+4
-0
.env.local
+4
-0
.env.prod
+4
-0
.env.stage
+4
-0
.env.test
+4
-0
src/views/report/goview/index.vue
+1
-1
types/env.d.ts
+1
-0
No files found.
.env.dev
View file @
ecfe1b61
...
@@ -32,3 +32,6 @@ VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
...
@@ -32,3 +32,6 @@ VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
# 验证码的开关
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=true
VITE_APP_CAPTCHA_ENABLE=true
# GoView域名
VITE_GOVIEW_URL='http://127.0.0.1:3000'
\ No newline at end of file
.env.local
View file @
ecfe1b61
...
@@ -29,3 +29,6 @@ VITE_MALL_H5_DOMAIN='http://localhost:3000'
...
@@ -29,3 +29,6 @@ VITE_MALL_H5_DOMAIN='http://localhost:3000'
# 验证码的开关
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=false
VITE_APP_CAPTCHA_ENABLE=false
# GoView域名
VITE_GOVIEW_URL='http://127.0.0.1:3000'
\ No newline at end of file
.env.prod
View file @
ecfe1b61
...
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-prod
...
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-prod
# 商城H5会员端域名
# 商城H5会员端域名
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
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
.env.stage
View file @
ecfe1b61
...
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-stage
...
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-stage
# 商城H5会员端域名
# 商城H5会员端域名
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
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
.env.test
View file @
ecfe1b61
...
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-test
...
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-test
# 商城H5会员端域名
# 商城H5会员端域名
VITE_MALL_H5_DOMAIN
=
'http://mall.yudao.iocoder.cn'
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
src/views/report/goview/index.vue
View file @
ecfe1b61
...
@@ -8,5 +8,5 @@
...
@@ -8,5 +8,5 @@
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
defineOptions
({
name
:
'GoView'
})
defineOptions
({
name
:
'GoView'
})
const
src
=
'http://127.0.0.1:3000'
const
src
=
ref
(
import
.
meta
.
env
.
VITE_GOVIEW_URL
)
</
script
>
</
script
>
types/env.d.ts
View file @
ecfe1b61
...
@@ -25,6 +25,7 @@ interface ImportMetaEnv {
...
@@ -25,6 +25,7 @@ interface ImportMetaEnv {
readonly
VITE_DROP_CONSOLE
:
string
readonly
VITE_DROP_CONSOLE
:
string
readonly
VITE_SOURCEMAP
:
string
readonly
VITE_SOURCEMAP
:
string
readonly
VITE_OUT_DIR
:
string
readonly
VITE_OUT_DIR
:
string
readonly
VITE_GOVIEW_URL
:
string
}
}
declare
global
{
declare
global
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment