Skip to content

Commit

Permalink
releases 4.2.35
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Oct 31, 2024
1 parent 239b9a7 commit f57bb11
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helper/vetur/attributes.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion helper/vetur/tags.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-pc-ui",
"version": "4.2.34",
"version": "4.2.35",
"description": "A vue based PC component library",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down
15 changes: 15 additions & 0 deletions types/components/table.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,16 @@ export namespace VxeTablePropTypes {
}
export interface RowOpts<D = any> extends RowConfig<D> { }

/**
* 单元格配置项
*/
export interface CellConfig<D = any>{
/**
* 垂直对齐方式
*/
verticalAlign?: '' | 'top' | 'center'
}

/**
* 自定义列配置项
*/
Expand Down Expand Up @@ -1884,6 +1894,10 @@ export interface VxeTableProps<D = any> {
* 行配置信息
*/
rowConfig?: VxeTablePropTypes.RowConfig<D>
/**
* 单元格配置信息
*/
cellConfig?: VxeTablePropTypes.CellConfig<D>
/**
* 个性化信息配置项
*/
Expand Down Expand Up @@ -2070,6 +2084,7 @@ export interface TablePrivateComputed<D = any> {
computeSXOpts: ComputedRef<VxeTablePropTypes.SXOpts>
computeSYOpts: ComputedRef<VxeTablePropTypes.SYOpts>
computeColumnOpts: ComputedRef<VxeTablePropTypes.ColumnOpts>
computeCellOpts: ComputedRef<VxeTablePropTypes.CellConfig>
computeRowOpts: ComputedRef<VxeTablePropTypes.RowOpts>
computeResizeOpts: ComputedRef<VxeTablePropTypes.ResizeOpts>
computeResizableOpts: ComputedRef<VxeTablePropTypes.ResizableOpts<D>>
Expand Down

0 comments on commit f57bb11

Please sign in to comment.