fix:时间选择器组件 统一使用format

This commit is contained in:
zhangyu
2022-01-04 14:57:59 +08:00
parent 55203ef0ea
commit f50db242d4
11 changed files with 64 additions and 31 deletions

View File

@@ -132,6 +132,8 @@
:placeholder="$t('overall.select')"
popper-class="right-box-select-top right-public-box-dropdown-top"
size="small"
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)"
style="width: 100%">
</my-date-picker>
</template>
@@ -143,6 +145,8 @@
:placeholder="$t('overall.select')"
popper-class="right-box-select-top right-public-box-dropdown-top"
size="small"
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)"
style="width: 100%"
value-format="yyyy-MM-dd">
</my-date-picker>