将当前客户端类型进行登录传值
parent
4625c087d5
commit
7b9b5c2819
|
@ -204,6 +204,7 @@
|
|||
},
|
||||
|
||||
mounted() {
|
||||
|
||||
// #ifndef APP-PLUS
|
||||
//判断是否微信浏览器
|
||||
var ua = window.navigator.userAgent.toLowerCase();
|
||||
|
@ -657,9 +658,8 @@
|
|||
const params = JSON.parse(JSON.stringify(this.userData));
|
||||
params.password = md5(params.password);
|
||||
try {
|
||||
let res = await userLogin(params);
|
||||
let res = await userLogin(params,this.clientType);
|
||||
if (res.data.success) {
|
||||
console.log("zhixing ")
|
||||
this.getUserInfoMethods(res);
|
||||
} else {
|
||||
this.$refs.verification.getCode();
|
||||
|
@ -828,4 +828,4 @@
|
|||
color: $main-color;
|
||||
margin: 20px 0;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue