Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
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
mongo-ui
Commits
14760409
Commit
14760409
authored
Sep 04, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/resceive_token' into 'master'
fix: 接收token参数 See merge request
!232
parents
9987ae41
9558d1ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
index.js
src/router/index.js
+1
-1
index.vue
src/views/Home/Activity/index.vue
+1
-0
No files found.
src/router/index.js
View file @
14760409
...
@@ -37,7 +37,7 @@ const router = new VueRouter({
...
@@ -37,7 +37,7 @@ const router = new VueRouter({
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
const
urlParams
=
parseSearch
(
window
.
location
.
href
);
const
urlParams
=
parseSearch
(
window
.
location
.
href
);
setTitle
(
to
.
meta
.
title
,
to
.
path
,
to
.
query
);
setTitle
(
to
.
meta
.
title
,
to
.
path
,
to
.
query
);
if
(
isXyqb
)
getAuthInfo
(
urlParams
.
vccToken
);
if
(
isXyqb
)
getAuthInfo
(
urlParams
.
vccToken
||
urlParams
.
token
);
if
(
isWeixinBrower
)
{
if
(
isWeixinBrower
)
{
getWxOpenId
(
urlParams
.
code
);
getWxOpenId
(
urlParams
.
code
);
getShareInfo
(
to
);
getShareInfo
(
to
);
...
...
src/views/Home/Activity/index.vue
View file @
14760409
...
@@ -78,6 +78,7 @@
...
@@ -78,6 +78,7 @@
</div>
</div>
</div>
</div>
<cr-button
<cr-button
@
click=
"drawLottery"
:class=
"[
{ 'Av-body-right_winning': status === 'HAS_WINNING' }, 'Av-body-right']"
:class=
"[
{ 'Av-body-right_winning': status === 'HAS_WINNING' }, 'Av-body-right']"
>
>
{{
voteButtonText
}}
{{
voteButtonText
}}
...
...
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