(component): update

This commit is contained in:
就眠儀式 2022-09-28 19:04:14 +08:00
parent c2c8416233
commit 9a15eb507a
2 changed files with 5 additions and 4 deletions

View File

@ -110,7 +110,7 @@ const state = reactive({
height: 40,
});
var timer:any;
var timer: any;
// animation
const initAnimation = () => {
@ -126,9 +126,9 @@ const initAnimation = () => {
//
onUnmounted(() => {
clearInterval(timer);
timer = null;
})
clearInterval(timer);
timer = null;
});
// animation
const computeAnimationTime = () => {

View File

@ -21,6 +21,7 @@
<li>[新增] tabitem 组件 icon 属性, 提供 title 属性前置 icon 设置。</li>
<li>[新增] select 组件 collapseTagsTooltip 属性, 多选模式下是否悬浮显示折叠的选中项。</li>
<li>[新增] select 组件 minCollapsedNum 属性, 多选模式选中项超过多少时折叠。</li>
<li>[新增] select 组件 searchPlaceholder 属性, 自定义搜索提示信息。</li>
<li>[修复] tolltip 组件 content 变化时, 位置无法自动计算调整的问题。</li>
<li>[修复] breadcrumb-item 组件无法正确传递 attrs, 导致 @click 等自定义事件失效。</li>
<li>[修复] layout 组件仅引入了 footer 作为内容元素时, layui-layout-vertical 样式不生效, 导致布局错误。</li>