Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
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 afc692b0
authored
Jul 12, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v1.0.0' into v1.1.0
2 parents
e86627b6
513a1f0c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/config/index.js
src/config/index.js
View file @
afc692b
...
@@ -15,8 +15,8 @@ export const fetchConfig = function (isEnv = true) {
...
@@ -15,8 +15,8 @@ export const fetchConfig = function (isEnv = true) {
Object
.
assign
(
request
,
{
timeout
})
Object
.
assign
(
request
,
{
timeout
})
return
Promise
.
resolve
(
config
)
return
Promise
.
resolve
(
config
)
}
}
/**测试mock */
return
window
.
fetch
(
'https://oss-config.dev.glsx.com.cn/mock/62bd8142304f1311a3b76a04/data-view/config'
,
{}).
then
(
res
=>
res
.
json
())
//
/**测试mock */ return window.fetch('https://oss-config.dev.glsx.com.cn/mock/62bd8142304f1311a3b76a04/data-view/config', {}).then(res => res.json())
// /**生产 */ return window.fetch('https://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-main-
config', {}).then(res => res.json())
/**测试mock */
return
window
.
fetch
(
'https://oss-config.test.glsx.com.cn/mock/62cbf569f5137cf37678b828/data-view/
config'
,
{}).
then
(
res
=>
res
.
json
())
}
}
export
const
cfg
=
{
export
const
cfg
=
{
install
(
vue
,
config
)
{
install
(
vue
,
config
)
{
...
...
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