mirror of
https://gitee.com/layui/layui.git
synced 2025-10-27 03:09:32 +08:00
新增 colorpicker 的绑定元素上的 lay-options 属性识别
This commit is contained in:
@@ -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">'
|
||||
|
||||
Reference in New Issue
Block a user