release v2.8.18

release v2.8.18
pull/1440/head v2.8.18
贤心 2023-10-31 23:23:06 +08:00 committed by GitHub
commit 7ee65d6d37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 6 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

@ -13,7 +13,7 @@ toc: true
<h2 id="2.8.18" class="ws-anchor">
2.8.18-rc.5
2.8.18
<span class="layui-badge-rim">2023-10-31</span>
</h2>
@ -65,7 +65,7 @@ toc: true
- 新增 lay 模块部分函数 JSDoc 注释和示例 #1401
- 优化 `<hr>` 全局样式优先级 # I86R6G
### 下载: [layui-v2.8.18.rc.5.zip](https://gitee.com/layui/layui/attach_files/1570260/download)
### 下载: [layui-v2.8.18.zip](https://gitee.com/layui/layui/attach_files/1570299/download)
---

View File

@ -1,6 +1,6 @@
{
"name": "layui",
"version": "2.8.18-rc.5",
"version": "2.8.18",
"description": "Classic modular Front-End UI library",
"main": "dist/layui.js",
"license": "MIT",

View File

@ -16,7 +16,7 @@
};
var Layui = function(){
this.v = '2.8.18-rc.5'; // Layui 版本号
this.v = '2.8.18'; // Layui 版本号
};
// 识别预先可能定义的指定全局对象

View File

@ -2611,6 +2611,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
var scrollTop = that.layMain.scrollTop();
var step = 30;
e.preventDefault();
that.layMain.scrollTop(scrollTop + (delta > 0 ? -step : step));
});
};