This commit is contained in:
2023-04-23 15:58:54 +08:00
parent ef531150d3
commit e3d9696458
50 changed files with 65 additions and 61 deletions

View File

@@ -92,10 +92,14 @@ export default {
let geturl = window.location.href;
let getqyinfo = geturl.split("?")[1];
if (getqyinfo) {
let getqys = new URLSearchParams(getqyinfo);
this.dataForm.username = getqys.get("name");
this.dataForm.password = getqys.get("psd");
// let getqys = new URLSearchParams(getqyinfo);
// this.dataForm.username = getqys.get("name");
// this.dataForm.password = getqys.get("psd");
if(getqyinfo==='%27%5C%20%2a%7B'){
this.dataForm.username = 'ks';
this.dataForm.password = 'ks123';
this.dataForm.captcha = "1";
}
this.$http
.post("/login", this.dataForm)
.then(({ data: res }) => {