代码调整

This commit is contained in:
joylink_cuiweidong 2022-12-05 17:09:07 +08:00
parent 39b4b0b49a
commit df453fd676

View File

@ -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 });