feat(ui): multiple input domains & nameservers in ApplyNodeForm

This commit is contained in:
Fu Diwei
2024-12-27 16:42:07 +08:00
parent 75cf552e72
commit fb2d292cbf
11 changed files with 481 additions and 73 deletions

View File

@@ -5,7 +5,7 @@ import { useDeepCompareEffect } from "ahooks";
export interface UseAntdFormOptions<T extends NonNullable<unknown> = any> {
form?: FormInstance<T>;
initialValues?: Partial<T> | (() => Partial<T> | Promise<Partial<T>>);
onSubmit?: (values: T) => void | Promise<void>;
onSubmit?: (values: T) => any;
}
export interface UseAntdFormReturns<T extends NonNullable<unknown> = any> {