Commit a6b2d601 authored by XieZhiXiong's avatar XieZhiXiong

添加Select allowClear

parent d04db7a0
...@@ -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: {
......
...@@ -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 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment