Skip to content

the v-model in a-table didn't work as well as it in a-pagination #1126

@akino512

Description

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

Version

1.3.16

Environment

ubuntu 18.04,chrome 76.0.3809.100,vue 2.6.6

Reproduction link

Edit on CodeSandbox

Steps to reproduce

In this example,I bound the v-model in a-table and the v-model in a-pagination to the same variable "page".

What is expected?

I expect that the two pagination would change synchronously no matter which side was clicked ,but it didn't.

What is actually happening?

When I change "page" in a- table ,the "page" in a- pagination made a change at the same time.
But when I change "page" in a- pagination, there is no any changes on a- table.

Is it a bug or just my fault?


简单地说,就是改变a-table 中分页的绑定值page,不会响应到页面上
而改变页面,确实会响应到变量page上。

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