✨(component): 更新日志
This commit is contained in:
parent
74200d7e92
commit
52372946ab
@ -30,8 +30,8 @@
|
||||
</template>
|
||||
</lay-dropdown>
|
||||
<lay-dropdown ref="dropdownMonthPanelRefLeft">
|
||||
<span class="laydate-range-time"
|
||||
> {{ MONTH_NAME[startTime.month] }}</span
|
||||
<span class="laydate-range-time">
|
||||
{{ MONTH_NAME[startTime.month] }}</span
|
||||
>
|
||||
<template #content>
|
||||
<MonthPanel
|
||||
@ -87,11 +87,15 @@
|
||||
</template>
|
||||
</lay-dropdown>
|
||||
<lay-dropdown ref="dropdownMonthPanelRefRight">
|
||||
<span class="laydate-range-time"
|
||||
> {{ MONTH_NAME[startTime.month + 1 > 11
|
||||
<span class="laydate-range-time">
|
||||
{{
|
||||
MONTH_NAME[
|
||||
startTime.month + 1 > 11
|
||||
? startTime.month + 1 - 12
|
||||
: startTime.month + 1] }} </span
|
||||
>
|
||||
: startTime.month + 1
|
||||
]
|
||||
}}
|
||||
</span>
|
||||
<template #content>
|
||||
<MonthPanel
|
||||
class="time-panel"
|
||||
|
@ -167,14 +167,14 @@ const props = withDefaults(defineProps<DatePickerProps>(), {
|
||||
});
|
||||
|
||||
const startPlaceholder = computed(() => {
|
||||
if(Array.isArray(props.placeholder)) {
|
||||
if (Array.isArray(props.placeholder)) {
|
||||
return props.placeholder[0];
|
||||
}
|
||||
return props.placeholder;
|
||||
});
|
||||
|
||||
const endPlaceholder = computed(() => {
|
||||
if(Array.isArray(props.placeholder)) {
|
||||
if (Array.isArray(props.placeholder)) {
|
||||
return props.placeholder[1];
|
||||
}
|
||||
return props.placeholder;
|
||||
|
@ -24,8 +24,6 @@
|
||||
.layui-transfer-box {
|
||||
position: relative;
|
||||
border-width: 1px;
|
||||
width: 200px;
|
||||
height: 360px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: var(--transfer-box-border-radius);
|
||||
|
@ -11,6 +11,17 @@
|
||||
<template>
|
||||
<lay-timeline>
|
||||
<lay-timeline-item title="1.7.x">
|
||||
<ul>
|
||||
<a name="1-7-1"></a>
|
||||
<li>
|
||||
<h3>1.7.1 <span class="layui-badge-rim">2022-10-25</span></h3>
|
||||
<ul>
|
||||
<li>[新增] date-picker 组件 placeholder 属性 array 类型兼容。</li>
|
||||
<li>[修复] date-picker 组件 range 属性为 true 时的 国际化 翻译失效。</li>
|
||||
<li>[修复] date-picker 组件 range 属性为 true 时的 lay-dropdown 无法解析警告。</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<a name="1-7-0"></a>
|
||||
<li>
|
||||
|
Loading…
Reference in New Issue
Block a user