金民工程登录页面

This commit is contained in:
2023-02-21 16:22:31 +08:00
parent 4a83f895d5
commit d753764af4

View File

@@ -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() {