Browse Source

perf: hide table full screen button by default

pull/323/head
Vben 6 years ago
parent
commit
500900abe1
  1. 2
      .github/workflows/ftp-schedule.yml
  2. 1
      CHANGELOG.zh_CN.md
  3. 2
      src/components/Table/src/components/settings/index.vue
  4. 3
      src/components/Table/src/props.ts
  5. 2
      src/views/demo/form/RuleForm.vue

2
.github/workflows/ftp-schedule.yml

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

1
CHANGELOG.zh_CN.md

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

2
src/components/Table/src/components/settings/index.vue

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

3
src/components/Table/src/props.ts

@ -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,

2
src/views/demo/form/RuleForm.vue

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

Loading…
Cancel
Save