|
|
|
@ -162,6 +162,10 @@ export default {
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
getCode() {
|
|
|
|
getCode() {
|
|
|
|
getCodeImg().then(res => {
|
|
|
|
getCodeImg().then(res => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.day = localStorage.getItem('licenseWarning')||null;
|
|
|
|
|
|
|
|
console.log('day',this.day);
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|