更新
This commit is contained in:
@@ -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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user