File tree Expand file tree Collapse file tree 4 files changed +21
-4
lines changed
docs/src/document/zh-CN/guide
component/component/table Expand file tree Collapse file tree 4 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 13
13
::: demo
14
14
<template >
15
15
<lay-timeline >
16
+ <lay-timeline-item title="2.21.x">
17
+ <ul>
18
+ <a name="2-21-0"></a>
19
+ <li>
20
+ <h3>2.21.0 <span class="layui-badge-rim">2024-12-3</span></h3>
21
+ <ul>
22
+ <li>[升级] layer 到 2.4.7 版本。</li>
23
+ <li>[新增] layer 新增moveEnd/resizeEnd返回值。<a href="https://gitee.com/layui-vue/layui-vue/pulls/453">详情</a></li>
24
+ <li>[修复] layui 2.20.0版本无法install问题。</li>
25
+ </ul>
26
+ </li>
27
+ </ul>
28
+ </lay-timeline-item>
16
29
<lay-timeline-item title="2.20.x">
17
30
<ul>
18
31
<a name="2-20-0"></a>
26
39
<li>[修复] date-picker 组件日期范围类型,月份禁用异常。</li>
27
40
<li>[修复] docs 文档中因网络协议导致的图片资源丢失。</li>
28
41
<li>[修复] table 组件多级表格头部 expand 插槽错位。</li>
29
- <li>[升级] layer 到 1 .4.6 版本。</li>
42
+ <li>[升级] layer 到 2 .4.6 版本。</li>
30
43
</ul>
31
44
</li>
32
45
</ul>
Original file line number Diff line number Diff line change @@ -628,7 +628,11 @@ onMounted(() => {
628
628
629
629
const getFixedColumn = () => {
630
630
tableHeader .value ! .scrollLeft = tableBody .value ?.scrollLeft || 0 ;
631
- tableTotal .value ! .scrollLeft = tableBody .value ?.scrollLeft || 0 ;
631
+
632
+ if (tableTotal .value ) {
633
+ tableTotal .value .scrollLeft = tableBody .value ?.scrollLeft || 0 ;
634
+ }
635
+
632
636
// @ts-ignore
633
637
if (tableBody .value ?.scrollWidth > tableBody .value ?.clientWidth ) {
634
638
if (tableBody .value ?.scrollLeft == 0 ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @layui/layer-vue" ,
3
- "version" : " 2.4.6 " ,
3
+ "version" : " 2.4.7 " ,
4
4
"description" : " a component library for Vue 3 base on layui-vue" ,
5
5
"homepage" : " http://www.layui-vue.com" ,
6
6
"module" : " lib/layer-vue.es.js" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @layui/layui-vue" ,
3
- "version" : " 2.20 .0" ,
3
+ "version" : " 2.21 .0" ,
4
4
"author" : " 就眠儀式" ,
5
5
"license" : " MIT" ,
6
6
"description" : " a component library for Vue 3 base on layui-vue" ,
You can’t perform that action at this time.
0 commit comments