Skip to content

a-month-picker 无法通过value动态绑定数据 #1510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
YoungForRest opened this issue Dec 4, 2019 · 1 comment
Closed
1 task

a-month-picker 无法通过value动态绑定数据 #1510

YoungForRest opened this issue Dec 4, 2019 · 1 comment

Comments

@YoungForRest
Copy link

YoungForRest commented Dec 4, 2019

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

Version

1.4.8

Environment

vue 3.11.0

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<a-button @click="testMethod">change

<a-month-picker :open="openMonth" @change="dateChange" :value="chooseDate" >

testMethod(){

this.chooseDate=moment("2019-11");
}

What is expected?

希望能通过 :value="chooseDate" 来动态改变选择器选中的月份

What is actually happening?

我在调用testMethod方法时,MonthPicker的选择的月份不改变

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants