File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed
Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " vxe-pc-ui" ,
3- "version" : " 4.11.24 " ,
3+ "version" : " 4.11.25 " ,
44 "description" : " A vue based PC component library" ,
55 "scripts" : {
66 "update" : " npm install --legacy-peer-deps" ,
Original file line number Diff line number Diff line change @@ -4964,12 +4964,28 @@ export interface TableMethods<DT = any> {
49644964 * @param row 指定行
49654965 * @param columnOrField 列对象或字段名
49664966 */
4967- scrollToRow ( row : any , fieldOrColumn ?: VxeColumnPropTypes . Field | VxeTableDefines . ColumnInfo < any > ) : Promise < any >
4967+ scrollToRow ( row : any , fieldOrColumn ?: VxeColumnPropTypes . Field | VxeTableDefines . ColumnInfo ) : Promise < any >
4968+ /**
4969+ * 如果有滚动条,则滚动到第一行
4970+ */
4971+ scrollToStartRow ( fieldOrColumn ?: VxeColumnPropTypes . Field | VxeTableDefines . ColumnInfo ) : Promise < any >
4972+ /**
4973+ * 如果有滚动条,则滚动到最后一行
4974+ */
4975+ scrollToEndRow ( fieldOrColumn ?: VxeColumnPropTypes . Field | VxeTableDefines . ColumnInfo ) : Promise < any >
49684976 /**
49694977 * 如果有滚动条,则滚动到对应的列
49704978 * @param columnOrField 列对象或字段名
49714979 */
4972- scrollToColumn ( fieldOrColumn : VxeColumnPropTypes . Field | VxeTableDefines . ColumnInfo < any > ) : Promise < any >
4980+ scrollToColumn ( fieldOrColumn : VxeColumnPropTypes . Field | VxeTableDefines . ColumnInfo ) : Promise < any >
4981+ /**
4982+ * 如果有滚动条,则滚动到第一列
4983+ */
4984+ scrollToStartColumn ( ) : Promise < any >
4985+ /**
4986+ * 如果有滚动条,则滚动到最后一列
4987+ */
4988+ scrollToEndColumn ( ) : Promise < any >
49734989 /**
49744990 * 手动清除滚动相关信息,还原到初始状态
49754991 */
You can’t perform that action at this time.
0 commit comments