Commit e1e14a27 by wangyalan-git

生成二维码,扫描二维码,登录

parent acfdc1a0
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset',
'es2015'
'@vue/cli-plugin-babel/preset'
],
plugins: [
[
......
......@@ -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(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment