Skip to content

Table组件@on-drag-drop事件的类型声明文件语法错误,导致ts校验报错。 #427

Description

@RickyHeaven

Table组件@on-drag-drop事件的类型声明现在是:

/**
  * 拖拽排序松开时触发,返回置换的两行数据索引
  */
 onOnDragDrop?: (event?: any) => any;

正确的应该这样写:

onOnDragDrop?: (index1?: any,index2?:any) => any;

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions