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
a6b2d601
Commit
a6b2d601
authored
Sep 07, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加Select allowClear
parent
d04db7a0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
18 deletions
+30
-18
index.tsx
src/pages/member/memberImport/schema/index.tsx
+13
-9
index.tsx
src/pages/member/memberMaintain/schema/index.tsx
+17
-9
No files found.
src/pages/member/memberImport/schema/index.tsx
View file @
a6b2d601
...
@@ -37,9 +37,6 @@ export const importSchema: ISchema = {
...
@@ -37,9 +37,6 @@ export const importSchema: ISchema = {
type
:
'object'
,
type
:
'object'
,
'x-component'
:
'Flex-Layout'
,
'x-component'
:
'Flex-Layout'
,
'x-component-props'
:
{
'x-component-props'
:
{
rowStyle
:
{
flexWrap
:
'nowrap'
,
},
colStyle
:
{
colStyle
:
{
marginLeft
:
20
,
marginLeft
:
20
,
},
},
...
@@ -51,6 +48,7 @@ export const importSchema: ISchema = {
...
@@ -51,6 +48,7 @@ export const importSchema: ISchema = {
enum
:
[],
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'会员类型(全部)'
,
placeholder
:
'会员类型(全部)'
,
allowClear
:
true
,
},
},
},
},
roleId
:
{
roleId
:
{
...
@@ -59,6 +57,7 @@ export const importSchema: ISchema = {
...
@@ -59,6 +57,7 @@ export const importSchema: ISchema = {
enum
:
[],
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'会员角色(全部)'
,
placeholder
:
'会员角色(全部)'
,
allowClear
:
true
,
},
},
},
},
level
:
{
level
:
{
...
@@ -67,31 +66,35 @@ export const importSchema: ISchema = {
...
@@ -67,31 +66,35 @@ export const importSchema: ISchema = {
enum
:
[],
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'会员等级(全部)'
,
placeholder
:
'会员等级(全部)'
,
allowClear
:
true
,
},
},
},
},
source
:
{
source
:
{
type
:
'string'
,
type
:
'string'
,
default
:
undefined
,
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'申请来源(全部)'
,
placeholder
:
'申请来源(全部)'
,
defaultValue
:
undefined
,
allowClear
:
true
,
},
},
enum
:
[],
},
},
outerStatus
:
{
outerStatus
:
{
type
:
'string'
,
type
:
'string'
,
default
:
undefined
,
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'外部状态(全部)'
,
placeholder
:
'外部状态(全部)'
,
defaultValue
:
undefined
,
allowClear
:
true
,
},
},
enum
:
[],
},
},
innerStatus
:
{
innerStatus
:
{
type
:
'string'
,
type
:
'string'
,
default
:
undefined
,
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'内部状态(全部)'
,
placeholder
:
'内部状态(全部)'
,
defaultValue
:
undefined
,
allowClear
:
true
,
},
},
enum
:
[],
},
},
timeRange
:
{
timeRange
:
{
type
:
'string'
,
type
:
'string'
,
...
@@ -108,6 +111,7 @@ export const importSchema: ISchema = {
...
@@ -108,6 +111,7 @@ export const importSchema: ISchema = {
],
],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'请选择'
,
placeholder
:
'请选择'
,
allowClear
:
true
,
},
},
},
},
submit
:
{
submit
:
{
...
...
src/pages/member/memberMaintain/schema/index.tsx
View file @
a6b2d601
...
@@ -33,6 +33,7 @@ export const maintianSchema: ISchema = {
...
@@ -33,6 +33,7 @@ export const maintianSchema: ISchema = {
enum
:
[],
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'会员类型(全部)'
,
placeholder
:
'会员类型(全部)'
,
allowClear
:
true
,
},
},
},
},
roleId
:
{
roleId
:
{
...
@@ -41,6 +42,7 @@ export const maintianSchema: ISchema = {
...
@@ -41,6 +42,7 @@ export const maintianSchema: ISchema = {
enum
:
[],
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'会员角色(全部)'
,
placeholder
:
'会员角色(全部)'
,
allowClear
:
true
,
},
},
},
},
level
:
{
level
:
{
...
@@ -49,45 +51,51 @@ export const maintianSchema: ISchema = {
...
@@ -49,45 +51,51 @@ export const maintianSchema: ISchema = {
enum
:
[],
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'会员等级(全部)'
,
placeholder
:
'会员等级(全部)'
,
allowClear
:
true
,
},
},
},
},
source
:
{
source
:
{
type
:
'string'
,
type
:
'string'
,
default
:
undefined
,
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'申请来源(全部)'
,
placeholder
:
'申请来源(全部)'
,
defaultValue
:
undefined
,
allowClear
:
true
,
},
},
enum
:
[],
},
},
innerStatus
:
{
innerStatus
:
{
type
:
'string'
,
type
:
'string'
,
default
:
undefined
,
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'内部状态(全部)'
,
placeholder
:
'内部状态(全部)'
,
defaultValue
:
undefined
,
allowClear
:
true
,
},
},
enum
:
[],
},
},
outerStatus
:
{
outerStatus
:
{
type
:
'string'
,
type
:
'string'
,
default
:
undefined
,
enum
:
[],
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'外部状态(全部)'
,
placeholder
:
'外部状态(全部)'
,
defaultValue
:
undefined
,
allowClear
:
true
,
},
},
enum
:
[],
},
},
status
:
{
status
:
{
type
:
'string'
,
type
:
'string'
,
enum
:
[],
default
:
undefined
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'会员状态(全部)'
,
placeholder
:
'会员状态(全部)'
,
defaultValue
:
undefined
,
allowClear
:
true
,
},
},
enum
:
[],
},
},
timeRange
:
{
timeRange
:
{
type
:
'string'
,
type
:
'string'
,
default
:
0
,
'x-component-props'
:
{
'x-component-props'
:
{
placeholder
:
'请选择'
,
placeholder
:
'请选择'
,
defaultValue
:
undefined
,
allowClear
:
true
,
},
},
enum
:
[
enum
:
[
{
label
:
'时间范围(全部)'
,
value
:
0
},
{
label
:
'时间范围(全部)'
,
value
:
0
},
...
...
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