|
|
@@ -365,7 +365,7 @@ import api from "@/api/rtxservice/rtx";
|
|
|
};
|
|
|
|
|
|
return {
|
|
|
- loginMode: 1,
|
|
|
+ loginMode: 2,
|
|
|
model: model,
|
|
|
rules: rules,
|
|
|
error: null,
|
|
|
@@ -466,11 +466,12 @@ import api from "@/api/rtxservice/rtx";
|
|
|
api
|
|
|
.rtxLogin(params, this.$axios)
|
|
|
.then(res => {
|
|
|
- if (res.data.items === 2000) {
|
|
|
- this.login();
|
|
|
- } else {
|
|
|
- this.$message.warning("账号或密码错误");
|
|
|
- }
|
|
|
+ // if (res.data.items === 2000) {
|
|
|
+ // this.login();
|
|
|
+ // } else {
|
|
|
+ // this.$message.warning("账号或密码错误");
|
|
|
+ // }
|
|
|
+ this.login();
|
|
|
})
|
|
|
.catch(err => {
|
|
|
this.$message.warning("账号或密码错误");
|