Skip to content

Table组件设置纵向滚动后,点击页码控制台报错 #1929

@zhensherlock

Description

@zhensherlock
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.5.0-rc.4

Environment

谷歌最新,vue2.5

Reproduction link

Edit on CodeSandbox

Steps to reproduce

表格设置:scroll="{ y: 240 }",点击页码,控制台报错
[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'scrollTop' of undefined"

What is expected?

点击页码不报错

What is actually happening?

点击页码报错

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions