Why does element-ui report an error when using value-format when type is week in the time selector?

    <el-date-picker
    v-model="weekRange"
    type="week"
    format="yyyy  WW "
    placeholder=""
    size="medium"
    value-format="yyyy-MM-dd">
</el-date-picker>

Why do you get a normal value if you remove value-format, and you will report an error when you add it?

Apr.27,2021

has the landlord found a solution? I also encountered the same problem ~


how did the landlord solve it?


did the landlord solve this problem? I also encountered the same situation


you should have added form verification, as if adding value-format= "yyyy-MM-dd" > is not the type of date, just pay attention to the type. I removed type: 'date', during form validation and did not validate according to date type


problem solved, I also encountered this problem


take a look at the document.

date-picker

format="yyyy  WW "

bug,typeweek,value-format,moment.js"YYYY WW"
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf339b-313a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf339b-313a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?