Skip to content

Commit

Permalink
fix:DatetimePicker选择器 title无效
Browse files Browse the repository at this point in the history
  • Loading branch information
BeiQiaoT committed Dec 8, 2021
1 parent f3584ff commit 75f5899
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:show="show"
:closeOnClickOverlay="closeOnClickOverlay"
:columns="columns"
:title="title"
:defaultIndex="innerDefaultIndex"
:cancelText="cancelText"
:confirmText="confirmText"
Expand Down Expand Up @@ -190,7 +191,7 @@
values.push(formatter('day', padZero(dayjs(value).date())), formatter('hour', padZero(dayjs(value).hour())), formatter('minute', padZero(dayjs(value).minute())))
}
}
// 根据当前各列的所有值,从各列默认值中找到默认值在各列中的索引
const indexs = this.columns.map((column, index) => {
// 通过取大值,可以保证不会出现找不到索引的-1情况
Expand Down

0 comments on commit 75f5899

Please sign in to comment.