提交 0c216625 编写于 作者: A AmyFoxFN

fix date-picker bug

上级 942a16cb
......@@ -144,6 +144,7 @@
this.dateData = [this.years, this.months, this.days]
// make sure picker render before call refillColumn
this.$nextTick(() => {
this.$refs.picker.refresh()
this.$refs.picker.scrollTo(1, this.tempIndex[1])
this.$refs.picker.scrollTo(2, this.tempIndex[2])
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册