afc163
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
8 deletions
-
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; |
|
|
|