Commit 32e1bd8f authored by 李苏's avatar 李苏 💬

注释无用接口

parent 347af5d7
...@@ -150,13 +150,13 @@ export default { ...@@ -150,13 +150,13 @@ export default {
}, },
methods: { methods: {
getCode() { getCode() {
getCodeImg().then(res => { // getCodeImg().then(res => {
this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled; // this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled;
if (this.captchaEnabled) { // if (this.captchaEnabled) {
this.codeUrl = "data:image/gif;base64," + res.img; // this.codeUrl = "data:image/gif;base64," + res.img;
this.loginForm.uuid = res.uuid; // this.loginForm.uuid = res.uuid;
} // }
}); // });
}, },
getCookie() { getCookie() {
const username = Cookies.get("username"); const username = Cookies.get("username");
......
...@@ -207,13 +207,13 @@ export default { ...@@ -207,13 +207,13 @@ export default {
}, },
methods: { methods: {
getCode() { getCode() {
getCodeImg().then(res => { // getCodeImg().then(res => {
this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled; // this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled;
if (this.captchaEnabled) { // if (this.captchaEnabled) {
this.codeUrl = "data:image/gif;base64," + res.img; // this.codeUrl = "data:image/gif;base64," + res.img;
this.loginForm.uuid = res.uuid; // this.loginForm.uuid = res.uuid;
} // }
}); // });
}, },
getCookie() { getCookie() {
const systemid = Cookies.get("systemid"); const systemid = Cookies.get("systemid");
......
...@@ -112,13 +112,13 @@ export default { ...@@ -112,13 +112,13 @@ export default {
}, },
methods: { methods: {
getCode() { getCode() {
getCodeImg().then(res => { // getCodeImg().then(res => {
this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled; // this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled;
if (this.captchaEnabled) { // if (this.captchaEnabled) {
this.codeUrl = "data:image/gif;base64," + res.img; // this.codeUrl = "data:image/gif;base64," + res.img;
this.registerForm.uuid = res.uuid; // this.registerForm.uuid = res.uuid;
} // }
}); // });
}, },
handleRegister() { handleRegister() {
this.$refs.registerForm.validate(valid => { this.$refs.registerForm.validate(valid => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment