Element UI version
2.14.1
OS/Browsers version
谷歌83.0.4103.97
Vue version
2.6.12
Reproduction Link
https://jsfiddle.net/mmx38qxw/
Steps to reproduce
点进DatePicker选择器。查询type为monthrange的格式(重现链接是假的,可以直接进官网看https://element.eleme.cn/#/zh-CN/component/date-picker)
What is Expected?
type为monthrange类型,时间差应该是当前年的月份.比如第一个框是2021,第二个框应该也默认为2021
What is actually happening?
默认时间差是相隔了一年.比如第一个框是2021,第二个框已经默认为2022.
2条答案
按热度按时间wfauudbj1#
Translation of this issue:\n\n### Element UI version\n2.14.1\n\n### OS/Browsers version\nGoogle 83.0.4103.97\n\n### Vue version\n2.6.12\n\n### Reproduction Link\nhttps://jsfiddle.net/mmx38qxw/\n\n### Steps to reproduce\nClick in the datepicker selector. The query type is montangee format (the recurrence link is fake, you can directly go to the official website to see) https://element.eleme.cn/#/zh -CN/component/date-picker)\n\n### What is Expected?\nFor example, the first box is 2021, and the second box should also be 2021 by default\n\n### What is actually happening?\nThe default time difference is one year apart. For example, the first box is 2021, and the second box is 2022 by default\n\n
gr8qqesn2#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.