diff --git a/docs/form/index.md b/docs/form/index.md
index 04103dfd..55ec52f8 100644
--- a/docs/form/index.md
+++ b/docs/form/index.md
@@ -142,7 +142,7 @@ form 还可以借助*栅格*实现更灵活的响应式布局。
layui.use(function(){
var form = layui.form;
- // 当表单元素被插入插入时,需进行组件渲染才能显示
+ // 当表单元素被动态插入时,需主动进行组件渲染才能显示
form.render(); // 渲染全部表单
form.render('select'); // 仅渲染 select 元素
form.render(null, 'test'); // 仅渲染 lay-filter="test" 的容器内的全部表单
diff --git a/docs/layer/index.md b/docs/layer/index.md
index 754f247d..eaddedf9 100644
--- a/docs/layer/index.md
+++ b/docs/layer/index.md
@@ -34,7 +34,7 @@ toc: true
| 关闭 : | - |
| [layer.close(index, callback)](#close) | 关闭对应的层,核心方法。 |
| [layer.closeAll(type, callback)](#closeAll) | 关闭所有对应类型的层。 |
-| [layer.closeLast(type)](#closeLast) 2.8+ | 关闭最近打开的对应类型的层。 |
+| [layer.closeLast(type, callback)](#closeLast) 2.8+ | 关闭最近打开的对应类型的层。 |
| 其他 : | - |
| [layer.config(options)](#config) | 全局配置默认属性。 |
| [layer.ready(callback)](#ready) | 样式初始化就绪。 |
@@ -385,9 +385,10 @@ layer.closeAll('tips'); // 关闭所有的 tips 层
关闭最近一次打开的层 2.8+
-`layer.closeLast(type);`
+`layer.closeLast(type, callback);`
- 参数 `type` : 弹层的类型。可选值:`dialog,page,iframe,loading,tips`
+- 参数 `callback` : 关闭弹层后的回调函数
该方法用于关闭最近一次打开的对应类型的层。
diff --git a/docs/table/examples/init.md b/docs/table/examples/init.md
index c766da0b..5254958a 100644
--- a/docs/table/examples/init.md
+++ b/docs/table/examples/init.md
@@ -14,7 +14,7 @@
孔子 |
华夏 |
- 有朋至远方来,不亦乐乎 |
+ 有朋自远方来,不亦乐乎 |
孟子 |
diff --git a/docs/table/examples/static.md b/docs/table/examples/static.md
index f0867b27..f02b1626 100644
--- a/docs/table/examples/static.md
+++ b/docs/table/examples/static.md
@@ -17,7 +17,7 @@
孔子 |
华夏 |
- 有朋至远方来,不亦乐乎 |
+ 有朋自远方来,不亦乐乎 |
孟子 |
@@ -46,7 +46,7 @@
孔子 |
华夏 |
- 有朋至远方来,不亦乐乎 |
+ 有朋自远方来,不亦乐乎 |
孟子 |
@@ -75,7 +75,7 @@
孔子 |
华夏 |
- 有朋至远方来,不亦乐乎 |
+ 有朋自远方来,不亦乐乎 |
孟子 |
@@ -104,7 +104,7 @@
孔子 |
华夏 |
- 有朋至远方来,不亦乐乎 |
+ 有朋自远方来,不亦乐乎 |
孟子 |
@@ -133,7 +133,7 @@
孔子 |
华夏 |
- 有朋至远方来,不亦乐乎 |
+ 有朋自远方来,不亦乐乎 |
孟子 |
@@ -162,7 +162,7 @@
孔子 |
华夏 |
- 有朋至远方来,不亦乐乎 |
+ 有朋自远方来,不亦乐乎 |
孟子 |
@@ -191,7 +191,7 @@
孔子 |
华夏 |
- 有朋至远方来,不亦乐乎 |
+ 有朋自远方来,不亦乐乎 |
孟子 |
diff --git a/docs/transfer/detail/demo.md b/docs/transfer/detail/demo.md
index 6fd058b6..f26a3d44 100644
--- a/docs/transfer/detail/demo.md
+++ b/docs/transfer/detail/demo.md
@@ -136,7 +136,7 @@ layui.use(function(){
transfer.render({
elem: '#ID-transfer-demo-showSearch',
data: data,
- title: ['文本墨客', '获奖文人'],
+ title: ['文人墨客', '获奖文人'],
showSearch: true
});
});
diff --git a/docs/upload/detail/options.md b/docs/upload/detail/options.md
index 114323f0..00974de7 100644
--- a/docs/upload/detail/options.md
+++ b/docs/upload/detail/options.md
@@ -100,7 +100,11 @@ data: {
string |
-- |
+
+
+`json`
+
+ |
diff --git a/src/modules/form.js b/src/modules/form.js
index 2fb2519f..558eabb7 100644
--- a/src/modules/form.js
+++ b/src/modules/form.js
@@ -468,7 +468,7 @@ layui.define(['lay', 'layer', 'util'], function(exports){
dl.scrollTop(posTop + dl.scrollTop() - dlHeight + ddHeight - 5);
}
- // 若选择玄素在滚动条不可见顶部
+ // 若选择元素在滚动条不可见顶部
if(posTop < 0){
dl.scrollTop(posTop + dl.scrollTop() - 5);
}
diff --git a/src/modules/util.js b/src/modules/util.js
index da3cc27e..ed5c88ab 100644
--- a/src/modules/util.js
+++ b/src/modules/util.js
@@ -386,9 +386,9 @@ layui.define('jquery', function(exports){
/**
* 批量事件
* @param {string} [attr="lay-on"] - 触发事件的元素属性名
- * @param {Object.} events - 事件集合
* @param {Object} [options] - 参数的更多选项
- * @param {(string|HTMLElement|jQuery)} [options.elem="body"] - 触发事件的委托元素
+ * @param {(string|HTMLElement|JQuery)} [options.elem="body"] - 触发事件的委托元素
* @param {string} [options.trigger="click"] - 事件触发的方式
* @returns {Object} 返回当前 events 参数设置的事件集合
*/
|