We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
可以通过 default-date 设置初始选中日期,使用方法 getSelectedDate 获取选中的日期,但未找到动态修改已选中的日期的方法。
default-date
getSelectedDate
希望新增组件方法,允许动态修改日历组件已选中的日期
const calendarRef = ref('calendar'); calendarRef.value?.setDate([Date,Date]);
或者用 v-model 实现?
v-model
The text was updated successfully, but these errors were encountered:
你好,有一种临时解决方法,你可以动态的去修改 default-date 属性。
Sorry, something went wrong.
感谢回复,我明天再试试看
已有功能可以实现需求 👍
在select事件里,用 getSelectedDate 获取的值修改 default-date 属性
No branches or pull requests
这个功能解决了什么问题?
可以通过
default-date
设置初始选中日期,使用方法getSelectedDate
获取选中的日期,但未找到动态修改已选中的日期的方法。希望新增组件方法,允许动态修改日历组件已选中的日期
你期望的 API 是什么样子的?
或者用
v-model
实现?The text was updated successfully, but these errors were encountered: