Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cmb_auth
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
cmb_auth
Commits
cb24acb8
Commit
cb24acb8
authored
Oct 12, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6a80db27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
sparkrc.js
sparkrc.js
+2
-2
app.jsx
src/app.jsx
+3
-4
No files found.
sparkrc.js
View file @
cb24acb8
...
...
@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1"
:
0.6
,
"IMAGE_Q2"
:
0.8
,
"RES_PATH"
:
"/src/assets/"
,
"RES_PATH_PROD"
:
"//yun.duiba.com.cn/spark/v2/temp_base/16340
29365727
"
,
"JS_PATH_PROD"
:
"https://yun.duiba.com.cn/spark/v2/temp_base/16340
29367657
/js"
"RES_PATH_PROD"
:
"//yun.duiba.com.cn/spark/v2/temp_base/16340
30516856
"
,
"JS_PATH_PROD"
:
"https://yun.duiba.com.cn/spark/v2/temp_base/16340
30519691
/js"
}
\ No newline at end of file
src/app.jsx
View file @
cb24acb8
...
...
@@ -16,11 +16,10 @@ class App extends Component {
async
componentDidMount
()
{
const
url
=
'https://activity-pre.m.duiba.com.cn/projectx/pb4398bdc/index.html?appKey=jlg88lyxz7siqtmr&openBs=openbs&appID=1'
;
const
callBackUrl
=
url
+
'
?
iscallback=1'
;
const
redirectUrl
=
url
+
'
?
isredirect=1'
;
const
callBackUrl
=
url
+
'
&
iscallback=1'
;
const
redirectUrl
=
url
+
'
&
isredirect=1'
;
let
activityId
=
CFG
.
projectId
;
let
{
testact
,
iscallback
,
cmbdata
,
isredirect
}
=
queryParams
;
if
(
testact
==
1
)
activityId
=
'p19dcfe16'
;
let
{
iscallback
,
cmbdata
,
isredirect
}
=
queryParams
;
setTimeout
(()
=>
{
console
.
error
(
'queryParams'
,
JSON
.
stringify
(
queryParams
));
...
...
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