Skip to content

Commit 87d4940

Browse files
jxhhdxkagol
authored andcommitted
fix(virtual-list): 函数修改
1 parent 22e9409 commit 87d4940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/devui-vue/devui/virtual-list/src/virtual-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export default defineComponent({
326326
);
327327

328328
ctx.expose({
329-
onScrollTo(index: number) {
329+
scrollTo(index: number) {
330330
syncScrollTop(index * (props.itemHeight || DEFAULT_HEIGHT));
331331
}
332332
});

0 commit comments

Comments
 (0)