Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
86a5e33e
Commit
86a5e33e
authored
Aug 29, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外部传入输入框
parent
c548386d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
index.tsx
src/components/NiceForm/index.tsx
+1
-2
index.tsx
src/pages/member/memberLevel/index.tsx
+4
-0
No files found.
src/components/NiceForm/index.tsx
View file @
86a5e33e
...
...
@@ -22,7 +22,7 @@ import CustomRadio from './components/CustomRadio';
import
SearchSelect
from
'./components/SearchSelect'
;
import
TableTagList
from
'./components/TableTagList'
;
import
'./index.less'
import
{
Checkbox
,
Input
}
from
'@formily/antd-components'
;
import
{
Checkbox
}
from
'@formily/antd-components'
;
export
interface
NiceFormProps
extends
IAntdSchemaFormProps
{}
...
...
@@ -86,7 +86,6 @@ export const componentExport = {
FlexBox
,
Phone
,
SearchSelect
,
Input
,
TableTagList
,
}
const
NiceForm
:
React
.
FC
<
NiceFormProps
>
=
props
=>
{
...
...
src/pages/member/memberLevel/index.tsx
View file @
86a5e33e
...
...
@@ -4,6 +4,7 @@ import { Button, Card, message } from 'antd';
import
{
StandardTable
}
from
'god'
;
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
{
createFormActions
}
from
'@formily/antd'
;
import
{
Input
}
from
'@formily/antd-components'
;
import
EyePreview
from
'@/components/EyePreview'
;
import
StatusSwitch
from
'@/components/StatusSwitch'
;
import
NiceForm
from
'@/components/NiceForm'
;
...
...
@@ -141,6 +142,9 @@ const MemberLevel: React.FC<[]> = () => {
controlRender=
{
<
NiceForm
actions=
{
formActions
}
components=
{
{
Input
,
}
}
onSubmit=
{
values
=>
ref
.
current
.
reload
(
values
)
}
effects=
{
(
$
,
actions
)
=>
{
// $('onFieldInputChange', 'levelTag').subscribe(state =>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment