Skip to content

Commit

Permalink
fix: 时间选择器转换器依赖控制,数据网格分页大小依赖控制 (#242)
Browse files Browse the repository at this point in the history
* fix: 时间选择器转换器依赖控制,数据网格分页大小依赖控制

* fix: 数据网格pageable类型
  • Loading branch information
YufJi committed Dec 19, 2023
1 parent e744a8a commit e899d8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src-vusion/components/grid-view/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
default: 20
description: 设置分页大小,单位为px。
group: 主要属性
dependency:
- "!pageable": ""
- name: filterable
title: 可筛选
type: boolean
Expand Down
1 change: 1 addition & 0 deletions src-vusion/components/grid-view/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export default {
border: { type: Boolean, default: false },
readonly: { type: Boolean, default: true },
readonlyMode: { type: String, default: 'initial' },
pageable: { type: String, default: '' },
pageSize: { type: Number, default: 20 },
pullRefresh: { type: Boolean, default: true },
pullingText: { type: String, default: '下拉刷新' },
Expand Down
9 changes: 2 additions & 7 deletions src/datetime-picker/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,14 +279,9 @@
- title: Date 对象
value: date
default: format
depProp:
- name: type
value: datetime
- name: type
value: date
- name: type
value: year-month
group: 主要属性
dependency:
- "!type": datetime
- name: displayFormat
title: 自定义展示格式
type: string
Expand Down

0 comments on commit e899d8b

Please sign in to comment.