修复已知问题

This commit is contained in:
xuliangzhan
2020-12-29 19:32:45 +08:00
parent e9152e5a1f
commit 8a1a7cf7b7
2 changed files with 5 additions and 5 deletions

View File

@@ -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
View File

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