release: v2.11.2
Some checks failed
Issue Close Require / issue-close-require (push) Has been cancelled

This commit is contained in:
贤心 2025-05-15 11:05:05 +08:00
parent 1ea5f34600
commit ac8d5ccc30
5 changed files with 21 additions and 4 deletions

2
dist/layui.js vendored

File diff suppressed because one or more lines are too long

2
dist/layui.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -11,6 +11,23 @@ toc: true
<h2 id="2.10+" lay-toc="{title: '2.10+'}"></h2>
<h2 id="v2.11.2" lay-pid="2.10+" class="ws-anchor">
v2.11.2
<span class="layui-badge-rim">2025-05-15</span>
</h2>
- #### form-select
- 修复 `<option>` 文本两端的 Unicode 空格(U+00A0)被去除的问题 #2676 @Sight-wcg
- #### tabs
- 优化 `header` 选项初始值的判断,允许数组为空 #2680 @sentsim
- 优化 `tabs.getBodyItem()` 第二个参数,可接受索引或 `lay-id`#2680
- 优化 `tabs.add()``done` 回调,参数新增包含新标签项元素 #2680
- 优化 `tabs.change()` 方法,标签项打乱顺序时仍可通过 `lay-id` 切换 #2680
### 下载: [layui-v2.11.2.zip](https://gitee.com/layui/layui/attach_files/2189123/download)
---
<h2 id="v2.11.1" lay-pid="2.10+" class="ws-anchor">
v2.11.1
<span class="layui-badge-rim">2025-05-06</span>

View File

@ -1,6 +1,6 @@
{
"name": "layui",
"version": "2.11.1",
"version": "2.11.2",
"description": "Classic modular Front-End UI library",
"keywords": [
"layui",

View File

@ -28,7 +28,7 @@
// constructor
var Class = function() {
this.v = '2.11.1'; // 版本号
this.v = '2.11.2'; // 版本号
};
// 识别预先可能定义的指定全局对象