金民工程登录页面
This commit is contained in:
@@ -21,18 +21,16 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['getCode']),
|
||||
handleLogin(review) {
|
||||
handleLogin() {
|
||||
const {code} = this.$route.query
|
||||
if (!this.user.token) {
|
||||
} else if (code) {
|
||||
if (code) {
|
||||
this.$http.post("/app/wxcp/portal/hljJmgcLogin", null, {
|
||||
params: {code}
|
||||
}).then(res => {
|
||||
console.log(res)
|
||||
})
|
||||
} else if (!review) {
|
||||
this.getCode();
|
||||
} else this.err = "error"
|
||||
}).catch(() => this.err = "error")
|
||||
} else this.getCode();
|
||||
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user