Commit 500900abe16d3e27e1c9e0446a13386c6129d449
1 parent
c41fa752
perf: hide table full screen button by default
Showing
5 changed files
with
5 additions
and
5 deletions
.github/workflows/ftp-schedule.yml
CHANGELOG.zh_CN.md
src/components/Table/src/components/settings/index.vue
src/components/Table/src/props.ts
@@ -74,7 +74,6 @@ export const basicProps = { | @@ -74,7 +74,6 @@ export const basicProps = { | ||
74 | }, | 74 | }, |
75 | // 立即请求接口 | 75 | // 立即请求接口 |
76 | immediate: propTypes.bool.def(true), | 76 | immediate: propTypes.bool.def(true), |
77 | - | ||
78 | emptyDataIsShowTable: propTypes.bool.def(true), | 77 | emptyDataIsShowTable: propTypes.bool.def(true), |
79 | // 额外的请求参数 | 78 | // 额外的请求参数 |
80 | searchInfo: { | 79 | searchInfo: { |
@@ -130,12 +129,10 @@ export const basicProps = { | @@ -130,12 +129,10 @@ export const basicProps = { | ||
130 | type: [Object, Boolean] as PropType<PaginationProps | boolean>, | 129 | type: [Object, Boolean] as PropType<PaginationProps | boolean>, |
131 | default: null, | 130 | default: null, |
132 | }, | 131 | }, |
133 | - | ||
134 | loading: propTypes.bool, | 132 | loading: propTypes.bool, |
135 | rowClassName: { | 133 | rowClassName: { |
136 | type: Function as PropType<(record: TableCustomRecord<any>, index: number) => string>, | 134 | type: Function as PropType<(record: TableCustomRecord<any>, index: number) => string>, |
137 | }, | 135 | }, |
138 | - | ||
139 | scroll: { | 136 | scroll: { |
140 | type: Object as PropType<{ x: number | true; y: number }>, | 137 | type: Object as PropType<{ x: number | true; y: number }>, |
141 | default: null, | 138 | default: null, |
src/views/demo/form/RuleForm.vue
@@ -54,6 +54,7 @@ | @@ -54,6 +54,7 @@ | ||
54 | span: 8, | 54 | span: 8, |
55 | }, | 55 | }, |
56 | componentProps: { | 56 | componentProps: { |
57 | + mode: 'multiple', | ||
57 | options: [ | 58 | options: [ |
58 | { | 59 | { |
59 | label: '选项1', | 60 | label: '选项1', |
@@ -71,6 +72,7 @@ | @@ -71,6 +72,7 @@ | ||
71 | { | 72 | { |
72 | required: true, | 73 | required: true, |
73 | message: '请输入aa', | 74 | message: '请输入aa', |
75 | + type: 'array', | ||
74 | }, | 76 | }, |
75 | ], | 77 | ], |
76 | }, | 78 | }, |