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

@@ -74,6 +74,8 @@
popper-class="right-box-select-top"
style="width: 100%"
type="date"
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)"
value-format="yyyy-MM-dd">
</my-date-picker>
</el-form-item>
@@ -143,6 +145,8 @@
placeholder=""
popper-class="right-box-select-top"
size="small"
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)"
style="width: 100%">
</my-date-picker>
</template>
@@ -155,7 +159,8 @@
popper-class="right-box-select-top"
size="small"
style="width: 100%"
value-format="yyyy-MM-dd">
:value-format="timeFormatStrToDatePickFormat(timeFormatMain)"
:format="timeFormatStrToDatePickFormat(timeFormatMain)">
</my-date-picker>
</template>
</template>