Skip to content

Pagination 分页组件 total 类型为 String 报类型不匹配 #1083

@woodguoyu

Description

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

Version

1.3.14

Environment

Google Chrome 已是最新版本
版本 76.0.3809.100(正式版本) (64 位)

What is actually happening?

Pagination 分页组件 total 类型为 String 报类型不匹配

vue.runtime.esm.js?2b0e:619 [Vue warn]: Invalid prop: type check failed for prop "total". Expected Number with value 4, got String with value "4".

What is expected?

希望类型支持 String。如果数据量较大,接口传过来的时类型为 int ,会丢失精度

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