|
|
@@ -117,11 +117,13 @@
|
|
|
props: [],
|
|
|
methods: {
|
|
|
refreshCode() {
|
|
|
- getCaptcha().then(res => {
|
|
|
- const data = res.data;
|
|
|
- this.loginForm.key = data.key;
|
|
|
- this.loginForm.image = data.image;
|
|
|
- })
|
|
|
+ if (this.website.captchaMode) {
|
|
|
+ getCaptcha().then(res => {
|
|
|
+ const data = res.data;
|
|
|
+ this.loginForm.key = data.key;
|
|
|
+ this.loginForm.image = data.image;
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
showPassword() {
|
|
|
this.passwordType === ""
|