新增 colorpicker 的绑定元素上的 lay-options 属性识别

pull/1104/head
贤心 2022-07-29 10:47:27 +08:00
parent 1892d53710
commit 0d504c9313
1 changed files with 3 additions and 0 deletions

View File

@ -175,6 +175,9 @@ layui.define(['jquery', 'lay'], function(exports){
});
return that;
}
// 合并 lay-options 属性上的配置信息
that.config = $.extend(options, lay.options(elem[0]));
//颜色选择框对象
var elemColorBox = $(['<div class="layui-unselect layui-colorpicker">'