mirror of
https://github.com/certd/certd.git
synced 2026-04-15 05:00:52 +08:00
chore:
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Validator from "async-validator";
|
||||
// 自定义验证器函数
|
||||
export function isDomain(rule: any, value: any) {
|
||||
if (value == null) {
|
||||
if (value == null || value == "") {
|
||||
return true;
|
||||
}
|
||||
let domains: string[] = value;
|
||||
|
||||
Reference in New Issue
Block a user