Invalidate url type for logo and favicon in system options. (#338)

pull/341/head
Ryan Wang 2021-06-14 16:42:20 +08:00 committed by GitHub
parent 52220bd5de
commit c4a7c4f285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 8 deletions

View File

@ -89,14 +89,8 @@ export default {
{ required: true, message: '* 博客地址不能为空', trigger: ['change'] },
{ max: 1023, message: '* 字符数不能超过 1023', trigger: ['change'] }
],
blog_logo: [
{ type: 'url', message: '* 链接格式不正确', trigger: ['change'] },
{ max: 1023, message: '* 字符数不能超过 1023', trigger: ['change'] }
],
blog_favicon: [
{ type: 'url', message: '* 链接格式不正确', trigger: ['change'] },
{ max: 1023, message: '* 字符数不能超过 1023', trigger: ['change'] }
],
blog_logo: [{ max: 1023, message: '* 字符数不能超过 1023', trigger: ['change'] }],
blog_favicon: [{ max: 1023, message: '* 字符数不能超过 1023', trigger: ['change'] }],
blog_footer_info: [{ max: 1023, message: '* 字符数不能超过 1023', trigger: ['change'] }]
}
}