mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
修复已知问题
This commit is contained in:
@@ -3695,12 +3695,12 @@ const apis = [
|
||||
list: []
|
||||
},
|
||||
{
|
||||
name: 'setCellAreas(areas)',
|
||||
name: 'setCellAreas(areaConfigs, activeArea)',
|
||||
desc: '如果功能被支持,用于 mouse-config.area,选择指定区域的单元格',
|
||||
version: 'pro',
|
||||
type: 'Promise<any>',
|
||||
enum: '',
|
||||
defVal: 'areas: CellAreaOptions',
|
||||
defVal: 'areaConfigs: CellAreaConfig[], activeArea?: { area?: CellAreaConfig, row: Row, column: ColumnInfo }',
|
||||
list: []
|
||||
},
|
||||
{
|
||||
|
||||
6
types/table.d.ts
vendored
6
types/table.d.ts
vendored
@@ -898,9 +898,9 @@ export declare class Table extends VXETableComponent {
|
||||
setSelectCell(row: RowInfo, field: string): Promise<any>;
|
||||
/**
|
||||
* 用于 mouse-config.area,选取指定区域的单元格
|
||||
* @param areas 指定区域
|
||||
* @param areaConfigs 指定区域
|
||||
*/
|
||||
setCellAreas(areas: CellAreaOptions, activeArea: {
|
||||
setCellAreas(areaConfigs: CellAreaConfig[], activeArea?: {
|
||||
area?: MouseCellArea;
|
||||
column: ColumnInfo;
|
||||
row: RowInfo;
|
||||
@@ -1316,7 +1316,7 @@ export interface MouseCellArea {
|
||||
|
||||
export type CELL_AREA_TYPE = 'main' | 'copy' | 'extend' | 'multi' | 'active'
|
||||
|
||||
export interface CellAreaOptions {
|
||||
export interface CellAreaConfig {
|
||||
type?: CELL_AREA_TYPE;
|
||||
startColumn: ColumnInfo;
|
||||
endColumn: ColumnInfo;
|
||||
|
||||
Reference in New Issue
Block a user