perf: hide table full screen button by default

This commit is contained in:
Vben 2021-02-24 22:05:27 +08:00
parent c41fa75265
commit 500900abe1
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ on:
- cron: '0 15 * * *'
jobs:
push-to-ftp:
schedule-push-to-ftp:
runs-on: ubuntu-latest
steps:
- name: Checkout

View File

@ -8,6 +8,7 @@
- 登录界面动画优化
- 修复 github 仓库体积过大问题.
- 默认隐藏表格全屏按钮
### 🐛 Bug Fixes

View File

@ -37,7 +37,7 @@
redo: true,
size: true,
setting: true,
fullScreen: true,
fullScreen: false,
...props.setting,
};
}

View File

@ -74,7 +74,6 @@ export const basicProps = {
},
// 立即请求接口
immediate: propTypes.bool.def(true),
emptyDataIsShowTable: propTypes.bool.def(true),
// 额外的请求参数
searchInfo: {
@ -130,12 +129,10 @@ export const basicProps = {
type: [Object, Boolean] as PropType<PaginationProps | boolean>,
default: null,
},
loading: propTypes.bool,
rowClassName: {
type: Function as PropType<(record: TableCustomRecord<any>, index: number) => string>,
},
scroll: {
type: Object as PropType<{ x: number | true; y: number }>,
default: null,

View File

@ -54,6 +54,7 @@
span: 8,
},
componentProps: {
mode: 'multiple',
options: [
{
label: '选项1',
@ -71,6 +72,7 @@
{
required: true,
message: '请输入aa',
type: 'array',
},
],
},