Skip to content
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

var-date-picker 绑定的min和max值改变,但是var-date-picker界面没有更新! 请问如何更新 #1781

Closed
yanorl opened this issue Sep 25, 2024 · 1 comment · Fixed by #1782
Assignees

Comments

@yanorl
Copy link

yanorl commented Sep 25, 2024

var-date-picker 绑定的min和max值改变,但是var-date-picker界面没有更新! 请问如何更新

image
import { ref } from 'vue'

const date = ref('2024-09-25')
const picker= ref()
const min = ref('2024-09-15')
const handle = () => {
  min.value  = '2024-09-02'
}
<var-button @click="handle">更新min</var-button>
 <var-date-picker
    ref="picker"
    v-model="date"
    :min="min"
  />
 
@chouchouji
Copy link
Member

@BeADre It looks like a bug, please check it in this link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants