Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 2812dc2a
authored
Dec 06, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_v2.11.0' into 'v2.11.0'
ops部署 See merge request
!151
2 parents
83151469
2771a5fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/config/index.js
vue.config.js
src/config/index.js
View file @
2812dc2
...
...
@@ -18,7 +18,7 @@ export const fetchConfig = function(isEnv = true) {
return
Promise
.
resolve
(
cfg
)
}
return
new
Http
({
request
:
{
timeout
:
3000
}
}).
get
(
'https://oss-config.
test
.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2'
)
return
new
Http
({
request
:
{
timeout
:
3000
}
}).
get
(
'https://oss-config.
dev
.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2'
)
//开发环境mock
// return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
}
...
...
vue.config.js
View file @
2812dc2
...
...
@@ -19,7 +19,7 @@ const cdn = {
]
}
module
.
exports
=
{
outputDir
:
`
../dist/
${
packageName
}
`
,
outputDir
:
`
dist
`
,
publicPath
,
//node_env ? baseUrl : '/'
assetsDir
:
'static'
,
configureWebpack
:
{
...
...
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