Browse Source

fix: remove unused update form type (#11878)

pull/11879/head
afc163 3 months ago
committed by GitHub
parent
commit
4b033e16f2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      src/pages/table-list/components/UpdateForm.tsx

8
src/pages/table-list/components/UpdateForm.tsx

@ -12,14 +12,6 @@ import { Modal, message } from 'antd';
import React, { cloneElement, useCallback, useState } from 'react'; import React, { cloneElement, useCallback, useState } from 'react';
import { updateRule } from '@/services/ant-design-pro/api'; import { updateRule } from '@/services/ant-design-pro/api';
type FormValueType = {
target?: string;
template?: string;
type?: string;
time?: string;
frequency?: string;
} & Partial<API.RuleListItem>;
type UpdateFormProps = { type UpdateFormProps = {
trigger?: React.ReactElement<any>; trigger?: React.ReactElement<any>;
onOk?: () => void; onOk?: () => void;

Loading…
Cancel
Save