Commit 30938bc1 by 乔延琦

Merge branch 'develop-zhouyi' into 'develop'

fix(@rbc/rbc-login): 低版本浏览器报错

See merge request GFP/RBC/rbc-frontend!36
parents f978d436 119ce245
......@@ -265,18 +265,20 @@ export default {
});
},
async getVerificationCode() {
getVerificationCode() {
try {
this.verifyuuid = GMS.util.generateUUID();
const res = await GMS.$http.get(
GMS.$http.get(
`/captcha/getCaptcha?clientId=${this.verifyuuid}`,
{
responseType: "blob",
}
);
).then((res) => {
if (res.data) {
this.verificationImg = window.URL.createObjectURL(res.data);
}
})
} catch (err) {
console.log(err);
}
......
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