zsk 2 years ago
parent f416bd2955
commit ec81602e44

@ -105,7 +105,7 @@ const loginType = ref(1);
//
const loginInfo = ref({
tel: "",
username: "",
password: "",
code: "",
});
@ -118,7 +118,7 @@ const watchValidate = (e1) => {
};
const submitInfo = (e) => {
console.log(e);
console.log(loginInfo.value.password);
let obj = e;
// if (loginType.value == 2) {
// obj.loginType = 1;
@ -126,8 +126,8 @@ const submitInfo = (e) => {
// obj.loginType = 0;
// }
loginApi({
password: "123456",
username: "ldd",
password: loginInfo.value.password,
username: loginInfo.value.username,
})
.then((res) => {
console.log(res);

Loading…
Cancel
Save