Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
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
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
baiguangyao
mr-julyedu
Commits
1a11dbdf
Commit
1a11dbdf
authored
Nov 06, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Plain Diff
pull
parents
85895bf0
9b3063d0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
src/components/blessingPreheat/levelTest/index.js
+9
-6
No files found.
src/components/blessingPreheat/levelTest/index.js
View file @
1a11dbdf
import
React
,
{
Component
}
from
'react'
import
'./index.scss'
import
listFrame
from
'./../listFrame/index'
;
import
{
http
,
SendMessageToApp
}
from
"@/utils"
import
{
http
,
SendMessageToApp
,
getParam
}
from
"@/utils"
class
LevelTest
extends
Component
{
constructor
(
props
)
{
...
...
@@ -50,22 +50,25 @@ class LevelTest extends Component {
}
startTest
=
()
=>
{
const
{
history
,
isLogin
,
toLogin
}
=
this
.
props
;
const
{
isLogin
,
toLogin
}
=
this
.
props
;
if
(
isLogin
)
{
<<<<<<<
HEAD
var
_czc
=
_czc
||
[];
_czc
.
push
([
"_trackEvent"
,
'AI水平测试'
,
'm端双十一AI水平测试-点击测试'
]);
// history.push('/levelTest/test');
// if(getParam('version')) {
=======
if
(
getParam
(
'version'
))
{
window
.
location
.
href
=
`
${
API
.
m
}
/levelTest/test?version=
${
getParam
(
'version'
)}
`
;
}
else
{
>>>>>>>
9
b3063d0c5ee57c18d290e37fd3f900f298f388c
window
.
location
.
href
=
`
${
API
.
m
}
/levelTest/test`
;
// }else{
// history.push('/levelTest/test');
// }
}
}
else
{
toLogin
();
}
}
render
()
{
...
...
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