fix: 修改timePick组件 时间显示不对的问题

This commit is contained in:
zhangyu
2022-01-04 10:55:36 +08:00
parent e328bd0241
commit 9056ff5acb
8 changed files with 20 additions and 12 deletions

View File

@@ -38,7 +38,7 @@
<div class="datepicker-box">
<span class="datepicker-title">{{ $t("overall.startTime") }}</span>
<my-date-picker ref="calendar" v-model="editAlertSilence.startAt" :clearable="false" :placeholder="$t('dashboard.panel.startTime')"
align="right" class=" " :format="alertSilenceTime"
align="right" class=" " :format="timeFormatStrToDatePickFormat(alertSilenceTime)"
popper-class="panel-time-picker-popper right-box-select-top"
prefix-icon=" "
size="mini"
@@ -50,7 +50,7 @@
<div class="datepicker-box">
<span class="datepicker-title">{{ $t("overall.endTime") }}</span>
<my-date-picker ref="calendar" v-model="editAlertSilence.endAt" :clearable="false" :placeholder="$t('dashboard.panel.startTime')"
align="right" class=" " :format="alertSilenceTime"
align="right" class=" " :format="timeFormatStrToDatePickFormat(alertSilenceTime)"
popper-class="panel-time-picker-popper right-box-select-top"
prefix-icon=" "
size="mini"