Commit 500900abe16d3e27e1c9e0446a13386c6129d449

Authored by Vben
1 parent c41fa752

perf: hide table full screen button by default

.github/workflows/ftp-schedule.yml
... ... @@ -7,7 +7,7 @@ on:
7 7 - cron: '0 15 * * *'
8 8  
9 9 jobs:
10   - push-to-ftp:
  10 + schedule-push-to-ftp:
11 11 runs-on: ubuntu-latest
12 12 steps:
13 13 - name: Checkout
... ...
CHANGELOG.zh_CN.md
... ... @@ -8,6 +8,7 @@
8 8  
9 9 - 登录界面动画优化
10 10 - 修复 github 仓库体积过大问题.
  11 +- 默认隐藏表格全屏按钮
11 12  
12 13 ### 🐛 Bug Fixes
13 14  
... ...
src/components/Table/src/components/settings/index.vue
... ... @@ -37,7 +37,7 @@
37 37 redo: true,
38 38 size: true,
39 39 setting: true,
40   - fullScreen: true,
  40 + fullScreen: false,
41 41 ...props.setting,
42 42 };
43 43 }
... ...
src/components/Table/src/props.ts
... ... @@ -74,7 +74,6 @@ export const basicProps = {
74 74 },
75 75 // 立即请求接口
76 76 immediate: propTypes.bool.def(true),
77   -
78 77 emptyDataIsShowTable: propTypes.bool.def(true),
79 78 // 额外的请求参数
80 79 searchInfo: {
... ... @@ -130,12 +129,10 @@ export const basicProps = {
130 129 type: [Object, Boolean] as PropType<PaginationProps | boolean>,
131 130 default: null,
132 131 },
133   -
134 132 loading: propTypes.bool,
135 133 rowClassName: {
136 134 type: Function as PropType<(record: TableCustomRecord<any>, index: number) => string>,
137 135 },
138   -
139 136 scroll: {
140 137 type: Object as PropType<{ x: number | true; y: number }>,
141 138 default: null,
... ...
src/views/demo/form/RuleForm.vue
... ... @@ -54,6 +54,7 @@
54 54 span: 8,
55 55 },
56 56 componentProps: {
  57 + mode: 'multiple',
57 58 options: [
58 59 {
59 60 label: '选项1',
... ... @@ -71,6 +72,7 @@
71 72 {
72 73 required: true,
73 74 message: '请输入aa',
  75 + type: 'array',
74 76 },
75 77 ],
76 78 },
... ...