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
a7655df9
Commit
a7655df9
authored
Nov 02, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
17306358
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
sparkrc.js
sparkrc.js
+2
-2
app.jsx
src/app.jsx
+5
-6
No files found.
sparkrc.js
View file @
a7655df9
...
@@ -9,6 +9,6 @@ module.exports ={
...
@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1"
:
0.6
,
"IMAGE_Q1"
:
0.6
,
"IMAGE_Q2"
:
0.8
,
"IMAGE_Q2"
:
0.8
,
"RES_PATH"
:
"/src/assets/"
,
"RES_PATH"
:
"/src/assets/"
,
"RES_PATH_PROD"
:
"//yun.duiba.com.cn/spark/v2/temp_base/1635
330460861
"
,
"RES_PATH_PROD"
:
"//yun.duiba.com.cn/spark/v2/temp_base/1635
838646969
"
,
"JS_PATH_PROD"
:
"https://yun.duiba.com.cn/spark/v2/temp_base/1635
330463153
/js"
"JS_PATH_PROD"
:
"https://yun.duiba.com.cn/spark/v2/temp_base/1635
838649422
/js"
}
}
\ No newline at end of file
src/app.jsx
View file @
a7655df9
...
@@ -15,11 +15,11 @@ MD();
...
@@ -15,11 +15,11 @@ MD();
class
App
extends
Component
{
class
App
extends
Component
{
async
componentDidMount
()
{
async
componentDidMount
()
{
const
urlPrefix
=
'https://
activity.m.duibatest.com.cn/projectx/p45d740bc
/'
;
const
urlPrefix
=
'https://
85110.activity-29.m.duiba.com.cn/projectx/pe1b0c953
/'
;
const
url
=
urlPrefix
+
'index.html?appID=
19432
'
;
const
url
=
urlPrefix
+
'index.html?appID=
85110
'
;
const
callBackUrl
=
urlPrefix
+
'callback.html?appID=
19432
'
;
const
callBackUrl
=
urlPrefix
+
'callback.html?appID=
85110
'
;
const
redirectUrl
=
urlPrefix
+
'redirect.html?appID=
19432
'
;
const
redirectUrl
=
urlPrefix
+
'redirect.html?appID=
85110
'
;
const
iscallback
=
location
.
href
.
indexOf
(
'callback.html'
)
>
0
;
const
iscallback
=
location
.
href
.
indexOf
(
'callback.html'
)
>
0
;
const
isredirect
=
location
.
href
.
indexOf
(
'redirect.html'
)
>
0
;
const
isredirect
=
location
.
href
.
indexOf
(
'redirect.html'
)
>
0
;
...
@@ -73,7 +73,6 @@ class App extends Component {
...
@@ -73,7 +73,6 @@ class App extends Component {
}
}
}
}
render
()
{
render
()
{
return
(
return
(
<
div
>
<
div
>
...
...
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