提交 10d0d680 编写于 作者: X xjh22222228

fix: skip base64 logo

上级 6247cc05
......@@ -31,6 +31,14 @@ export class LogoComponent {
this.hasError = false
return
}
// base64
const regex = /^data:image\/.*;base64,/
if (regex.test(this.url)) {
this.hasError = false
return
}
setTimeout(async() => {
const isValid = await isValidImg(this.url)
if (isValid) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册