✨(component): 发布 1.4.8 版本
This commit is contained in:
parent
fa37943b18
commit
091bfc9dee
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@layui/layui-vue",
|
"name": "@layui/layui-vue",
|
||||||
"version": "1.4.7",
|
"version": "1.4.8",
|
||||||
"author": "就眠儀式",
|
"author": "就眠儀式",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "a component library for Vue 3 base on layui-vue",
|
"description": "a component library for Vue 3 base on layui-vue",
|
||||||
|
@ -101,16 +101,19 @@ const monitorWindow = function () {
|
|||||||
//监听内容元素尺寸变化
|
//监听内容元素尺寸变化
|
||||||
const monitorScrollBar = function () {
|
const monitorScrollBar = function () {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
let MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
|
let MutationObserver =
|
||||||
const observer : any = new MutationObserver(mutations => {
|
window.MutationObserver ||
|
||||||
initScrollListner();
|
window.WebKitMutationObserver ||
|
||||||
})
|
window.MozMutationObserver;
|
||||||
|
const observer: any = new MutationObserver((mutations) => {
|
||||||
|
initScrollListner();
|
||||||
|
});
|
||||||
|
|
||||||
observer.observe(scrollRef.value, {
|
observer.observe(scrollRef.value, {
|
||||||
attributes: true,
|
attributes: true,
|
||||||
childList: true,
|
childList: true,
|
||||||
subtree: true
|
subtree: true,
|
||||||
})
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// 初始化延迟监听滚动条
|
// 初始化延迟监听滚动条
|
||||||
|
@ -11,6 +11,19 @@
|
|||||||
<template>
|
<template>
|
||||||
<lay-timeline>
|
<lay-timeline>
|
||||||
<lay-timeline-item title="1.4.x">
|
<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>
|
<ul>
|
||||||
<a name="1-4-7"></a>
|
<a name="1-4-7"></a>
|
||||||
<li>
|
<li>
|
||||||
|
Loading…
Reference in New Issue
Block a user