Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5
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
vanke
h5
Commits
e1e14a27
Commit
e1e14a27
authored
Jul 01, 2020
by
wangyalan-git
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生成二维码,扫描二维码,登录
parent
acfdc1a0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
babel.config.js
babel.config.js
+1
-2
index.vue
src/views/Home/index.vue
+3
-3
No files found.
babel.config.js
View file @
e1e14a27
module
.
exports
=
{
presets
:
[
'@vue/cli-plugin-babel/preset'
,
'es2015'
'@vue/cli-plugin-babel/preset'
],
plugins
:
[
[
...
...
src/views/Home/index.vue
View file @
e1e14a27
...
...
@@ -31,14 +31,14 @@ export default {
mounted
()
{
this
.
jobNo
=
this
.
$route
.
query
.
jobNo
this
.
ticket
=
this
.
$route
.
query
.
ticket
this
.
getToken
()
//
this.getTicketLogin()
//
this.getToken()
this
.
getTicketLogin
()
},
methods
:
{
getToken
()
{
this
.
$store
.
dispatch
(
'Login'
,
{
jobNo
:
this
.
$route
.
query
.
jobNo
}).
then
(()
=>
{
this
.
$store
.
dispatch
(
'GetUserInfo'
).
then
(
res
=>
{
res
.
data
.
accouuntType
=
0
//
res.data.accouuntType = 0
this
.
userInfo
=
res
.
data
console
.
log
(
'userInof'
,
this
.
userInfo
)
}).
catch
(()
=>
{
...
...
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