Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ui-request
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
ui-request
Commits
4d0d652a
Commit
4d0d652a
authored
Jul 14, 2021
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改sonvccChannel的取值
parent
db402b7c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
index.js
dist/index.js
+1
-1
package.json
package.json
+1
-1
config.js
src/config.js
+3
-0
stats.html
stats.html
+1
-1
No files found.
dist/index.js
View file @
4d0d652a
This diff is collapsed.
Click to expand it.
package.json
View file @
4d0d652a
{
"name"
:
"@qg/ui-request"
,
"version"
:
"0.0.
8
"
,
"version"
:
"0.0.
15
"
,
"description"
:
"axios策略请求封装"
,
"main"
:
"dist/index.js"
,
"scripts"
:
{
...
...
src/config.js
View file @
4d0d652a
...
...
@@ -11,6 +11,9 @@ function getURLSearchParams(json) {
}
function
getVccChannel
(
channelKey
=
'
vccChannel
'
)
{
if
(
channelKey
===
'
sonVccChannel
'
)
{
return
localStorage
.
get
(
channelKey
)
||
''
;
}
return
isWechat
?
localStorage
.
get
(
channelKey
)
||
''
:
(
isAndroid
?
'
159905
'
:
isIOS
?
'
159904
'
:
localStorage
.
get
(
channelKey
))
||
''
;
...
...
stats.html
View file @
4d0d652a
...
...
@@ -2694,7 +2694,7 @@ var drawChart = (function () {
</script>
<script>
/*<!--*/
const
data
=
{
"
version
"
:
1
,
"
tree
"
:{
"
name
"
:
"
index.js
"
,
"
children
"
:[{
"
name
"
:
"
utils.js
"
,
"
uid
"
:
"
31e0-1
"
},{
"
name
"
:
"
localStorage.js
"
,
"
uid
"
:
"
31e0-2
"
},{
"
name
"
:
"
config.js
"
,
"
uid
"
:
"
31e0-3
"
},{
"
name
"
:
"
index.js
"
,
"
uid
"
:
"
31e0-4
"
},{
"
name
"
:
"
\
u0000rollupPluginBabelHelpers.js
"
,
"
uid
"
:
"
31e0-0
"
}],
"
renderedLength
"
:
5313
,
"
isRoot
"
:
true
},
"
nodes
"
:{
"
31e0-0
"
:{
"
renderedLength
"
:
1969
,
"
id
"
:
"
\
u0000rollupPluginBabelHelpers.js
"
},
"
31e0-1
"
:{
"
renderedLength
"
:
230
,
"
id
"
:
"
utils.js
"
},
"
31e0-2
"
:{
"
renderedLength
"
:
634
,
"
id
"
:
"
localStorage.js
"
},
"
31e0-3
"
:{
"
renderedLength
"
:
2352
,
"
id
"
:
"
config.js
"
},
"
31e0-4
"
:{
"
renderedLength
"
:
5065
,
"
isEntry
"
:
true
,
"
id
"
:
"
index.js
"
},
"
31e0-5
"
:{
"
renderedLength
"
:
0
,
"
isExternal
"
:
true
,
"
id
"
:
"
axios
"
}},
"
links
"
:[{
"
source
"
:
"
31e0-4
"
,
"
target
"
:
"
31e0-0
"
},{
"
source
"
:
"
31e0-4
"
,
"
target
"
:
"
31e0-5
"
},{
"
source
"
:
"
31e0-4
"
,
"
target
"
:
"
31e0-3
"
},{
"
source
"
:
"
31e0-3
"
,
"
target
"
:
"
31e0-1
"
},{
"
source
"
:
"
31e0-3
"
,
"
target
"
:
"
31e0
-2
"
}],
"
env
"
:{
"
rollup
"
:
"
2.44.0
"
,
"
rollup-plugin-visualizer
"
:
"
4.2.2
"
},
"
options
"
:{
"
gzip
"
:
false
,
"
brotli
"
:
false
}};
const
data
=
{
"
version
"
:
1
,
"
tree
"
:{
"
name
"
:
"
index.js
"
,
"
children
"
:[{
"
name
"
:
"
utils.js
"
,
"
uid
"
:
"
fd07-1
"
},{
"
name
"
:
"
localStorage.js
"
,
"
uid
"
:
"
fd07-2
"
},{
"
name
"
:
"
config.js
"
,
"
uid
"
:
"
fd07-3
"
},{
"
name
"
:
"
index.js
"
,
"
uid
"
:
"
fd07-4
"
},{
"
name
"
:
"
\
u0000rollupPluginBabelHelpers.js
"
,
"
uid
"
:
"
fd07-0
"
}],
"
renderedLength
"
:
5333
,
"
isRoot
"
:
true
},
"
nodes
"
:{
"
fd07-0
"
:{
"
renderedLength
"
:
1969
,
"
id
"
:
"
\
u0000rollupPluginBabelHelpers.js
"
},
"
fd07-1
"
:{
"
renderedLength
"
:
230
,
"
id
"
:
"
utils.js
"
},
"
fd07-2
"
:{
"
renderedLength
"
:
634
,
"
id
"
:
"
localStorage.js
"
},
"
fd07-3
"
:{
"
renderedLength
"
:
2445
,
"
id
"
:
"
config.js
"
},
"
fd07-4
"
:{
"
renderedLength
"
:
5065
,
"
isEntry
"
:
true
,
"
id
"
:
"
index.js
"
},
"
fd07-5
"
:{
"
renderedLength
"
:
0
,
"
isExternal
"
:
true
,
"
id
"
:
"
axios
"
}},
"
links
"
:[{
"
source
"
:
"
fd07-4
"
,
"
target
"
:
"
fd07-0
"
},{
"
source
"
:
"
fd07-4
"
,
"
target
"
:
"
fd07-5
"
},{
"
source
"
:
"
fd07-4
"
,
"
target
"
:
"
fd07-3
"
},{
"
source
"
:
"
fd07-3
"
,
"
target
"
:
"
fd07-1
"
},{
"
source
"
:
"
fd07-3
"
,
"
target
"
:
"
fd07
-2
"
}],
"
env
"
:{
"
rollup
"
:
"
2.44.0
"
,
"
rollup-plugin-visualizer
"
:
"
4.2.2
"
},
"
options
"
:{
"
gzip
"
:
false
,
"
brotli
"
:
false
}};
const
run
=
()
=>
{
const
width
=
window
.
innerWidth
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment