diff --git a/src/views/login/normalLogin.vue b/src/views/login/normalLogin.vue index 3697b3998..6e1b574d7 100644 --- a/src/views/login/normalLogin.vue +++ b/src/views/login/normalLogin.vue @@ -311,6 +311,9 @@ export default { model.password = md5(model.password); model.type = 'class'; model.project = this.project; + if (this.$route.query.projectDevice) { + model.deviceCode = this.$route.query.projectDevice; + } this.loading = true; if (this.isAutoLogin) { Cookies.set(this.cookiesName, model.username, { expires: 2 });