mirror of
https://gitee.com/layui/layui.git
synced 2025-08-20 09:28:56 +08:00
release: v2.9.22
This commit is contained in:
parent
b30038f3c6
commit
ab631a6bfe
2
dist/css/layui.css
vendored
2
dist/css/layui.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/layui.css.map
vendored
2
dist/css/layui.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/layui.js
vendored
2
dist/layui.js
vendored
File diff suppressed because one or more lines are too long
2
dist/layui.js.map
vendored
2
dist/layui.js.map
vendored
File diff suppressed because one or more lines are too long
@ -9,9 +9,28 @@ toc: true
|
||||
|
||||
<h2 id="2.9.x" lay-toc="{title: '2.9.x'}"></h2>
|
||||
|
||||
<h2 id="v2.9.22" class="ws-anchor">
|
||||
v2.9.22
|
||||
<span class="layui-badge-rim" style="color: #16b777;">稳定版</span>
|
||||
<span class="layui-badge-rim">2025-02-14</span>
|
||||
</h2>
|
||||
|
||||
- #### form
|
||||
- 修复 `form.val()` 第二个参数为 ArrayLike 时表单赋值异常 #2455 @Sight-wcg
|
||||
- 修复 `select` 未选中时 form.val 获取到的值为 null 的问题 #2475 @Sight-wcg
|
||||
- #### table
|
||||
- 回滚 #2411 中的 `ResizeObserver` 逻辑,因为可能存在更多的边缘影响 #2501 @Sight-wcg
|
||||
- #### treeTable
|
||||
- 修复 异步加载子节点失败后,无法点击重新加载的问题 #2479 @Sight-wcg
|
||||
- #### 基础
|
||||
- 优化 Linux 个别环境下的等宽字体 #2488 @SessionHu
|
||||
|
||||
### 下载: [layui-v2.9.22.zip](https://gitee.com/layui/layui/attach_files/2054722/download)
|
||||
|
||||
---
|
||||
|
||||
<h2 id="v2.9.21" class="ws-anchor">
|
||||
v2.9.21
|
||||
<span class="layui-badge-rim" style="color: #16b777;">稳定版</span>
|
||||
<span class="layui-badge-rim">2025-01-03</span>
|
||||
</h2>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "layui",
|
||||
"version": "2.9.21",
|
||||
"version": "2.9.22",
|
||||
"description": "Classic modular Front-End UI library",
|
||||
"keywords": [
|
||||
"layui",
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
};
|
||||
|
||||
var Layui = function(){
|
||||
this.v = '2.9.21'; // Layui 版本号
|
||||
this.v = '2.9.22'; // Layui 版本号
|
||||
};
|
||||
|
||||
// 识别预先可能定义的指定全局对象
|
||||
@ -257,8 +257,8 @@
|
||||
// currentStyle.getAttribute 参数为 camelCase 形式的字符串
|
||||
Layui.prototype.getStyle = function(node, name){
|
||||
var style = node.currentStyle ? node.currentStyle : win.getComputedStyle(node, null);
|
||||
return style.getPropertyValue
|
||||
? style.getPropertyValue(name)
|
||||
return style.getPropertyValue
|
||||
? style.getPropertyValue(name)
|
||||
: style.getAttribute(name.replace(/-(\w)/g, function(_, c){ return c ? c.toUpperCase() : '';}));
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user