Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-ordermanage
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 9e260631
authored
Apr 23, 2023
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
orderManage
1 parent
be37eda7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/config/index.js
src/router/routes.js
src/config/index.js
View file @
9e26063
...
@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = true) {
...
@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = true) {
// Object.assign(request, { timeout })
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// return Promise.resolve(cfg)
// }
// }
let
params
=
{
moduleName
:
'order
Manage'
,
mockUrl
:
'https://oss-config.glsx.com.cn/mock/64423183e60bb539e414ec67/orderM
anage/config'
,
httpOptions
:
{
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}
}
let
params
=
{
moduleName
:
'order
manage'
,
mockUrl
:
'https://oss-config.glsx.com.cn/mock/64423183e60bb539e414ec67/orderm
anage/config'
,
httpOptions
:
{
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}
}
return
utils
.
getConfig
(
params
)
return
utils
.
getConfig
(
params
)
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/616d28231072f92988f059fb/home/config')
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/616d28231072f92988f059fb/home/config')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=home').then(res => res)
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=home').then(res => res)
...
...
src/router/routes.js
View file @
9e26063
...
@@ -4,9 +4,9 @@ const staticRoutes = Object.freeze([
...
@@ -4,9 +4,9 @@ const staticRoutes = Object.freeze([
path
:
'/'
path
:
'/'
},
},
{
{
name
:
'order
M
anage'
,
name
:
'order
m
anage'
,
path
:
'/order
M
anage/index'
,
path
:
'/order
m
anage/index'
,
component
:
resolve
=>
require
([
`@/views/order
M
anage/index.vue`
],
resolve
),
component
:
resolve
=>
require
([
`@/views/order
m
anage/index.vue`
],
resolve
),
meta
:
{}
meta
:
{}
}
}
])
])
...
...
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