chore: migrate to useCustomFieldValue (#9201)
This commit is contained in:
+1
-7
@@ -1,4 +1,4 @@
|
||||
import type { ComponentPublicInstance, ComputedRef, Ref } from 'vue';
|
||||
import type { ComputedRef, ComponentPublicInstance } from 'vue';
|
||||
import type { FieldProps } from './Field';
|
||||
|
||||
export type FieldType =
|
||||
@@ -40,12 +40,6 @@ export type FieldRule = {
|
||||
formatter?: (value: any, rule: FieldRule) => string;
|
||||
};
|
||||
|
||||
export type FieldProvide = {
|
||||
childFieldValue: Ref<(() => unknown) | undefined>;
|
||||
resetValidation: () => void;
|
||||
validateWithTrigger: (trigger: FieldValidateTrigger) => void;
|
||||
};
|
||||
|
||||
// Shared props of Field and Form
|
||||
export type FieldFormSharedProps =
|
||||
| 'colon'
|
||||
|
||||
Reference in New Issue
Block a user