meihangbo
b3f86d206a
form.val() 赋值 radio 的值为布尔值时无法赋值问题. ( #1903 )
...
Co-authored-by: meihangbo <meihangbo@126.com>
6 months ago
morning-star
fe05f5f8ab
docs(table): 优化文档 ( #1913 )
6 months ago
caji
627dc8b738
fix(treeTable): 修复重载数据时,指定参数 scrollPos: 'fixed' 无效的问题 ( #1892 )
...
* 修正treeTable重载数据时,指定参数 scrollPos: 'fixed' ,
无法实现保持滚动条在原有位置的问题。
* 1,把修改代码移动到Class.prototype.render方法体中; 2,把let修改为var
* 修改let->var
* Update src/modules/treeTable.js
Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
* Update src/modules/treeTable.js
Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
* 按照评审人给出的修改意见进行修改
主要修改点:
1,通过给done包装函数设置scrollPosPatch标志位,避免重复包装;
2,包装后的done函数执行完毕后,恢复原来的done函数,避免以后再次触发done函数时,仍然执行保持滚动条位置的逻辑;
* 函数调用时,call->apply
* refactor: 简化代码
1. 将修复代码迁移至 updateOptions
2. table done 回调第四个参数,现在可以区分 reloadData 和 renderData
---------
Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
6 months ago
morning-star
bd1e5c31d0
refactor: 将部分组件上的 `lay-id` 属性重命名为 `lay-${MOD_NAME}-id` ( #1898 )
6 months ago
贤心
5f4a64bbdb
docs(table): 更正示例的合计行模板选项名
7 months ago
morning-star
25a333ffad
fix(colorpicker): 优化游标显示效果 ( #1863 )
7 months ago
贤心
7f610ba445
release: v2.9.9
7 months ago
贤心
57f75eb0bb
docs(version): 添加 v2.9.9 更新日志
7 months ago
贤心
232fc178d1
docs(laydate): 优化农历预览显示 ( #1855 )
7 months ago
morning-star
7600e4f1e5
feat(laydate): 新增 cellRender 选项,用于自定义单元格内容 ( #1843 )
...
* feat(laydate): 新增 cellRender 选项,用于自定义单元格内容
* docs(laydate): 添加 cellRender 文档
* chore: 调整示例顺序
* chore: 采用 stackblitz 原示例,提升扩展内容的丰富性
注: HTML 出现换行且缩进,会被 markdown 解析器解析为 code,因此删除了换行和最外层缩进
* chore: 注释示例中的若干选项
* chore: 解除若干选项的注释
* chore: 改进 cellRender 文档示例的可读性
* refactor(laydate): cellRender 第一个参数由数组改为对象
* docs(laydate): 改进 cellRender 文档可读性
---------
Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
7 months ago
morning-star
d8d0cbad40
refactor(laydate): 将 mark 和 holidays 选项函数类型的第一个参数由数组改为对象 ( #1848 )
7 months ago
morning-star
fc7fbae006
feat(flow): 重复执行 flow.load 时,解除旧的事件 ( #1852 )
7 months ago
morning-star
0a89d275e5
fix(element.tab): 改进自定义 tab 的索引获取 ( #1853 )
7 months ago
morning-star
b8a6f45efa
fix(colorpicker): RGBA 颜色输入框显示不全的问题 ( #1851 )
7 months ago
morning-star
27db69aedd
fix(colorpicker): 优化游标显示 ( #1850 )
7 months ago
morning-star
a7e06d7d06
feat(upload): choose 回调的参数中新增 getChooseFiles 方法 ( #1849 )
7 months ago
贤心
0e31264812
fix(tree): 修复编辑节点标题时的 xss 问题 ( #1845 )
7 months ago
morning-star
54e35f2204
fix(treetable): 修复 treeTable 由 #1808,#1792 导致的一些问题 ( #1828 )
...
* fix(treeTable): 重载时格式化图标异常
* fix(treeTable): 异步加载时, 加载图标异常
* fix(treeTable): 异步加载节点异常
related: #1792
7 months ago
地亚尔-IT
fdbca99476
fix(upload): 修复多个文件上传时能选择同样文件问题 ( #1757 )
...
* 修复BUG
* Update upload.js
* 增加开展文件信息方法,修复小问题
* chore(upload): 修改 upload.util.parseSize 的 JSDoc 参数类型
Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
* chore(upload): 更正引用参数错误
Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
* chore(upload): 更正 JSDoc
---------
Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
7 months ago
morning-star
c855d8b19b
feat(laydate): 新增 formatToDisplay 选项 ( #1788 )
...
* feat(laydate): 新增 formatToDisplay 选项
* docs(laydate): 更新 formatToDisplay 文档
* docs(laydate): 优化 `formatToDisplay` 选项的示例代码,以便更直观
* chore: 修改注释词汇,以避免引起不必要的安全性争议
---------
Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
7 months ago
morning-star
f1f0575d15
feat(laydate): mark 和 holidays 支持函数类型 ( #1786 )
...
* feat(laydate): mark 和 holidays 支持函数类型
* docs(laydate): 更新 holidays 和 mark 文档
7 months ago
贤心
99e3a6c1bf
chore: 调整徽章排列顺序
7 months ago
贤心
c204b8b8bd
chore: reorder the badges
7 months ago
贤心
95d7f67761
chore: 增加中文简述
7 months ago
贤心
ae1744a935
chore: 更正 README 的 NPM 链接
7 months ago
贤心
693c0002f7
chore: 优化 README 内容排版
7 months ago
贤心
b9e7d094aa
chore: Optimize the content layout of the README
7 months ago
morning-star
cc71ace202
fix(laydate): 日期时间选择器,点击时间时 change 回调未触发 ( #1787 )
7 months ago
mkerwoodchamp
ec53be3574
docs: add English translations to the README ( #1795 )
...
* added english to the readme
* removed english from README.md and added README.en-US.md for english readme
* chore: add language switching
* chore: optimize English sentences
---------
Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
7 months ago
morning-star
0eca94d803
fix(treeTable): 节点移动后,行索引获取错误 ( #1812 )
...
* fix(treeTable): 节点移动后,行索引获取错误
* update code
7 months ago
morning-star
1452d2a7b1
feat(treeTable): 支持 class 图标 ( #1808 )
7 months ago
morning-star
b94811ec09
fix(form-select): 修复 XSS 漏洞 ( #1813 )
7 months ago
morning-star
747c786040
fix(treeTable): 删除子节点时,未更新 isParent Key 的问题 ( #1792 )
7 months ago
morning-star
13b0b42528
feat(table): 添加 resizeObserver ( #1773 )
...
* feat(table): 添加 resizeObserver
* fix(table): 避免重复创建 observe
7 months ago
morning-star
0cdd11ae68
fix(treeTable): 添加和删除节点时,未更新节点图标的问题 ( #1784 )
...
* fix(treeTable): 添加和删除节点时,未更新节点图标的问题
* update code
8 months ago
morning-star
1585fd2d1d
fix(treeTable): 删除子节点时,内部缓存未同步的问题;节点移动后,点击事件中行索引获取错误 ( #1760 )
...
* fix(treeTable): 删除子节点时,内部缓存未同步的问题
* perf(treeTable): 减少不必要的缓存更新
* fix(treeTable): 节点移动后,点击事件中行索引获取错误
* refactor: 改进 724c011
8 months ago
morning-star
394c7e7ee7
chore(dropdown): 将 dropdown id 添加到触发元素 ( #1761 )
8 months ago
morning-star
26abb14c9d
fix(treeTable): 表格删除所有行之后,全选按钮选中的问题 ( #1759 )
8 months ago
morning-star
2fa8d57015
fix(treeTable): 表格所有行删除后,再次添加新行失败 ( #1758 )
8 months ago
贤心
21db7ff6a7
docs: 更正 table 示例预览的传参
8 months ago
贤心
c2de69369a
release: v2.9.8
8 months ago
贤心
f71d05def5
docs(version): 添加 v2.9.8 更新日志
8 months ago
贤心
53ae2c8d9c
docs(radio): 更正标签风格的单选组件示例
8 months ago
贤心
3464fb3e17
chore: Merge pull request #1740 from layui/2.x
...
同步 2.x 最新变更到主干
8 months ago
贤心
23dfbcbbf0
chore(form): 更正注释
8 months ago
贤心
d7104a37b3
docs(input): 补充 lay-precision 属性介绍
8 months ago
贤心
fccccff983
feat: 新增 `input-number` 组件的 `lay-precision` 属性值为 `0` 时的取整支持
8 months ago
贤心
6d8f147cc1
test: 更新 form 测试用例
8 months ago
贤心
90e0cb3605
Merge branch 'main' into 2.x
8 months ago
morning-star
aff8069ca5
fix(treeTable): 修复点击表头排序后,内部缓存数据和表格显示数据不一致的问题 ( #1734 )
8 months ago