Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
rd-data-screen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b472b1e2
authored
May 06, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
合并数据大屏代码
1 parent
d5f10e51
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
src/config/env.development.js
src/config/env.production.js
src/config/env.staging.js
vue.config.js
src/config/env.development.js
View file @
b472b1e
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
// 本地环境配置
// 本地环境配置
module
.
exports
=
{
module
.
exports
=
{
envVersion
:
'trial'
,
envVersion
:
'trial'
,
title
:
'
嘀加智慧门店
'
,
title
:
'
研发数据大屏
'
,
request
:
{
request
:
{
// baseURL: 'http://192.168.3.126:8081', // 本地测试项目地址,
// baseURL: 'http://192.168.3.126:8081', // 本地测试项目地址,
baseURL
:
'http://192.168.1.152:8088'
,
// 本地开发项目地址,
baseURL
:
'http://192.168.1.152:8088'
,
// 本地开发项目地址,
...
...
src/config/env.production.js
View file @
b472b1e
module
.
exports
=
{
module
.
exports
=
{
title
:
'
嘀加智慧门店
'
,
title
:
'
研发数据大屏
'
,
request
:
{
request
:
{
// baseURL: 'http://ghwx.cgacar.com/scrm-wechat' // 生产
// baseURL: 'http://ghwx.cgacar.com/scrm-wechat' // 生产
// baseURL: 'http://bi-view.beta.glsx.com.cn' // 生产
baseURL
:
'http://bi-view.beta.glsx.com.cn'
// 生产
baseURL
:
'http://bi-view.beta.glsx.com.cn'
// 生产
// baseURL: 'http://cim.chinagrandauto.com' // 生产
// baseURL: 'http://cim.chinagrandauto.com' // 生产
},
},
APPID
:
'xxx'
,
APPID
:
'xxx'
,
APPSECRET
:
'xxx'
,
APPSECRET
:
'xxx'
,
cdn
:
'https://www.xxx.cn/static'
cdn
:
'https://www.xxx.cn/static'
}
\ No newline at end of file
\ No newline at end of file
}
src/config/env.staging.js
View file @
b472b1e
module
.
exports
=
{
module
.
exports
=
{
title
:
'
嘀加智慧门店
'
,
title
:
'
研发数据大屏
'
,
request
:
{
request
:
{
baseURL
:
'http://xxxxx'
// 项目地址
baseURL
:
'http://xxxxx'
// 项目地址
},
},
APPID
:
'xxx'
,
APPID
:
'xxx'
,
APPSECRET
:
'xxx'
,
APPSECRET
:
'xxx'
,
cdn
:
'https://www.xxx.cn/static'
cdn
:
'https://www.xxx.cn/static'
}
\ No newline at end of file
\ No newline at end of file
}
vue.config.js
View file @
b472b1e
...
@@ -12,7 +12,7 @@ const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV)
...
@@ -12,7 +12,7 @@ const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV)
module
.
exports
=
{
module
.
exports
=
{
publicPath
:
IS_PROD
?
'./'
:
'/dj-scrm-wx-work/'
,
// 署应用包时的基本 URL。 vue-router hash 模式使用
publicPath
:
IS_PROD
?
'./'
:
'/dj-scrm-wx-work/'
,
// 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: '/dj-scrm-wx-work-main/', // 署应用包时的基本 URL。 vue-router history模式使用 微信开发环境需打开
// publicPath: '/dj-scrm-wx-work-main/', // 署应用包时的基本 URL。 vue-router history模式使用 微信开发环境需打开
outputDir
:
'dist'
,
// 生产环境构建文件的目录
outputDir
:
`dist`
,
// 生产环境构建文件的目录
assetsDir
:
'static'
,
// outputDir的静态资源(js、css、img、fonts)目录
assetsDir
:
'static'
,
// outputDir的静态资源(js、css、img、fonts)目录
lintOnSave
:
!
IS_PROD
,
lintOnSave
:
!
IS_PROD
,
productionSourceMap
:
false
,
// 如果不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
productionSourceMap
:
false
,
// 如果不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment