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 2771a5fe
authored
Dec 06, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ops部署
1 parent
83151469
Show 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 @
2771a5f
...
@@ -18,7 +18,7 @@ export const fetchConfig = function(isEnv = true) {
...
@@ -18,7 +18,7 @@ export const fetchConfig = function(isEnv = true) {
return
Promise
.
resolve
(
cfg
)
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
//开发环境mock
// return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
// return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
}
}
...
...
vue.config.js
View file @
2771a5f
...
@@ -19,7 +19,7 @@ const cdn = {
...
@@ -19,7 +19,7 @@ const cdn = {
]
]
}
}
module
.
exports
=
{
module
.
exports
=
{
outputDir
:
`
../dist/
${
packageName
}
`
,
outputDir
:
`
dist
`
,
publicPath
,
//node_env ? baseUrl : '/'
publicPath
,
//node_env ? baseUrl : '/'
assetsDir
:
'static'
,
assetsDir
:
'static'
,
configureWebpack
:
{
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