chore(deps): upgrade npm dependencies

This commit is contained in:
Fu Diwei
2024-12-23 13:36:18 +08:00
parent 984aae1ca6
commit cda54085b9
27 changed files with 850 additions and 728 deletions

View File

@@ -19,7 +19,6 @@ export type NotifyChannelEditFormProps = {
style?: React.CSSProperties;
channel: string;
disabled?: boolean;
loading?: boolean;
model?: NotifyChannelEditFormModelType;
onModelChange?: (model: NotifyChannelEditFormModelType) => void;
};
@@ -31,7 +30,7 @@ export type NotifyChannelEditFormInstance = {
};
const NotifyChannelEditForm = forwardRef<NotifyChannelEditFormInstance, NotifyChannelEditFormProps>(
({ className, style, channel, disabled, loading, model, onModelChange }, ref) => {
({ className, style, channel, disabled, model, onModelChange }, ref) => {
const [form] = Form.useForm();
const formName = useCreation(() => `notifyChannelEditForm_${Math.random().toString(36).substring(2, 10)}${new Date().getTime()}`, []);
const formFieldsComponent = useMemo(() => {
@@ -85,7 +84,7 @@ const NotifyChannelEditForm = forwardRef<NotifyChannelEditFormInstance, NotifyCh
className={className}
style={style}
form={form}
disabled={loading || disabled}
disabled={disabled}
initialValues={initialValues}
layout="vertical"
name={formName}