(component): 发布 1.4.8 版本

This commit is contained in:
就眠儀式 2022-09-02 09:30:29 +08:00
parent fa37943b18
commit 091bfc9dee
3 changed files with 25 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@layui/layui-vue",
"version": "1.4.7",
"version": "1.4.8",
"author": "就眠儀式",
"license": "MIT",
"description": "a component library for Vue 3 base on layui-vue",

View File

@ -101,16 +101,19 @@ const monitorWindow = function () {
//
const monitorScrollBar = function () {
// @ts-ignore
let MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
const observer : any = new MutationObserver(mutations => {
let MutationObserver =
window.MutationObserver ||
window.WebKitMutationObserver ||
window.MozMutationObserver;
const observer: any = new MutationObserver((mutations) => {
initScrollListner();
})
});
observer.observe(scrollRef.value, {
attributes: true,
childList: true,
subtree: true
})
subtree: true,
});
};
//

View File

@ -11,6 +11,19 @@
<template>
<lay-timeline>
<lay-timeline-item title="1.4.x">
<ul>
<a name="1-4-8"></a>
<li>
<h3>1.4.8 <span class="layui-badge-rim">2022-09-02</span></h3>
<ul>
<li>[修复] countUp 组件 useGrouping 属性异常。</li>
<li>[修复] scroll 组件无法监听 subtree 的节点变化。</li>
<li>[修复] tab 组件 title 属性显示异常的问题。</li>
<li>[优化] table 组件 page 参数 total 值为 0 时, 隐藏分页操作。</li>
<li>[优化] select 组件多选模式下边框被遮挡的问题。</li>
</ul>
</li>
</ul>
<ul>
<a name="1-4-7"></a>
<li>