Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
sso-equity
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 58ed3843
authored
Dec 05, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交开发环境测试OPS部署
1 parent
4e1068ed
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
src/config/index.js
src/setup/qiankun.js
vue.config.js
src/config/index.js
View file @
58ed384
...
@@ -14,7 +14,7 @@ export const fetchConfig = function(isEnv = true) {
...
@@ -14,7 +14,7 @@ export const fetchConfig = function(isEnv = true) {
// if (isEnv) {
// if (isEnv) {
// return Promise.resolve(cfg)
// return Promise.resolve(cfg)
// }
// }
return
new
Http
().
get
(
'https://oss-config.
test
.glsx.com.cn/mock/616e90b11072f92988f05a09/equity/config'
)
return
new
Http
().
get
(
'https://oss-config.
dev
.glsx.com.cn/mock/616e90b11072f92988f05a09/equity/config'
)
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/616e90b11072f92988f05a09/equity/config')
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/616e90b11072f92988f05a09/equity/config')
//return window.fetch('https://', {}).then(res => res.json())
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
...
...
src/setup/qiankun.js
View file @
58ed384
...
@@ -58,7 +58,7 @@ function subscribe({ messenger }) {
...
@@ -58,7 +58,7 @@ function subscribe({ messenger }) {
function
juedeDomain
(
url
){
function
juedeDomain
(
url
){
const
val
=
{
const
val
=
{
environment
:
'test'
,
environment
:
'test'
,
channel
:
2
,
channel
:
1
,
envVersion
:
'trial'
//要打开的小程序版本。正式版为:release,体验版为:trial,开发版为:develop,仅在微信外打开时生效
envVersion
:
'trial'
//要打开的小程序版本。正式版为:release,体验版为:trial,开发版为:develop,仅在微信外打开时生效
}
}
const
TEST
=
url
.
indexOf
(
'scrm.test.glsx'
)
>-
1
const
TEST
=
url
.
indexOf
(
'scrm.test.glsx'
)
>-
1
...
...
vue.config.js
View file @
58ed384
...
@@ -11,7 +11,8 @@ const cdn = {
...
@@ -11,7 +11,8 @@ const cdn = {
js
:
[
`
${
CDN_DOMAIN
}
ajax/libs/vue/2.6.11/vue.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/vue-router/3.2.0/vue-router.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/element-ui/2.11.1/index.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/vuex/3.6.2/vuex.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/echarts/5.1.2/echarts.min.js`
]
js
:
[
`
${
CDN_DOMAIN
}
ajax/libs/vue/2.6.11/vue.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/vue-router/3.2.0/vue-router.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/element-ui/2.11.1/index.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/vuex/3.6.2/vuex.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/echarts/5.1.2/echarts.min.js`
]
}
}
module
.
exports
=
{
module
.
exports
=
{
outputDir
:
`../dist/
${
packageName
}
`
,
// outputDir: `../dist/${packageName}`,
outputDir
:
`dist`
,
publicPath
,
publicPath
,
assetsDir
:
'static'
,
assetsDir
:
'static'
,
// np:'/newsso-equity/',
// np:'/newsso-equity/',
...
...
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