mirror of
https://gitee.com/layui/layui.git
synced 2025-10-27 03:09:32 +08:00
回滚 laydate 的 id 属性取值优先级的修改
This commit is contained in:
@@ -116,9 +116,7 @@
|
||||
|
||||
// 初始化 id 参数
|
||||
options = lay.extend(that.config, lay.options(elem[0])); // 继承节点上的属性
|
||||
options.id = 'id' in options ? options.id : (
|
||||
elem.attr('id') || that.index
|
||||
);
|
||||
options.id = 'id' in options ? options.id : that.index;
|
||||
|
||||
// 初始化
|
||||
laydate.ready(function(){
|
||||
|
||||
Reference in New Issue
Block a user