fix(落地页):解决验证码获取警告,页面不显示验证码图案bug

This commit is contained in:
Apple 2022-10-09 10:25:46 +08:00
parent 942778c0d3
commit 1c97c90bf3
1 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,6 @@
}, },
created () { created () {
captchaimg()
let self = this; let self = this;
//获取链接携带的参数 //获取链接携带的参数
let linkId = this.getQueryString('id'); let linkId = this.getQueryString('id');
@ -158,6 +157,9 @@
} }
}).catch(err => { }); }).catch(err => { });
} else { } else {
if([3,4].includes(this.pageType)){
captchaimg()
}
let keyName = this.typeList[this.pageType]; let keyName = this.typeList[this.pageType];
self.bgcolor = res.data[keyName].land.bg_color; self.bgcolor = res.data[keyName].land.bg_color;
self.ftcolor = res.data[keyName].land.font_color; self.ftcolor = res.data[keyName].land.font_color;