✨(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
|
||||
? startTime.month + 1 - 12
|
||||
: startTime.month + 1] }} </span
|
||||
>
|
||||
<span class="laydate-range-time">
|
||||
{{
|
||||
MONTH_NAME[
|
||||
startTime.month + 1 > 11
|
||||
? startTime.month + 1 - 12
|
||||
: startTime.month + 1
|
||||
]
|
||||
}}
|
||||
</span>
|
||||
<template #content>
|
||||
<MonthPanel
|
||||
class="time-panel"
|
||||
|
@ -167,17 +167,17 @@ 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;
|
||||
}
|
||||
return props.placeholder;
|
||||
});
|
||||
|
||||
const endPlaceholder = computed(() => {
|
||||
if(Array.isArray(props.placeholder)) {
|
||||
if (Array.isArray(props.placeholder)) {
|
||||
return props.placeholder[1];
|
||||
}
|
||||
return props.placeholder;
|
||||
}
|
||||
return props.placeholder;
|
||||
});
|
||||
|
||||
const dropdownRef = ref(null);
|
||||
|
@ -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,7 +11,18 @@
|
||||
<template>
|
||||
<lay-timeline>
|
||||
<lay-timeline-item title="1.7.x">
|
||||
<ul>
|
||||
<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>
|
||||
<h3>1.7.0 <span class="layui-badge-rim">2022-10-24</span></h3>
|
||||
|
Loading…
Reference in New Issue
Block a user