Skip to content

[Bug]: 分页组件currentPage、totalNumber两个属性双向绑定问题 #22

@dadalxx

Description

@dadalxx

Version

latest

Angular Version

latest

Link to minimal reproduction

https://opentiny.design/tiny-ng/components/pagination

Step to reproduce

分页组件当前页和总数两个输入属性类型为双向绑定的,这点让人很疑惑:
1、分页组件内部currentPage、totalNumber被修改时会直接污染输入属性
2、业界众多分页组件,大部分都是单向绑定的

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

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