mirror of https://github.com/layui/layui
删除多余分号
parent
6501ab2715
commit
351d5ebfb2
|
@ -106,12 +106,12 @@ layui.define(['jquery', 'laytpl', 'lay'], function(exports){
|
|||
}
|
||||
|
||||
//若重复执行 render,则视为 reload 处理
|
||||
if(!rerender && elem[0] && elem.data(MOD_INDEX)){;
|
||||
if(!rerender && elem[0] && elem.data(MOD_INDEX)){
|
||||
var newThat = thisModule.getThis(elem.data(MOD_INDEX));
|
||||
if(!newThat) return;
|
||||
|
||||
return newThat.reload(options);
|
||||
};
|
||||
}
|
||||
|
||||
//初始化 id 参数
|
||||
options.id = ('id' in options) ? options.id : that.index;
|
||||
|
@ -482,7 +482,7 @@ layui.define(['jquery', 'laytpl', 'lay'], function(exports){
|
|||
|
||||
if(('isAllowSpread' in options) ? options.isAllowSpread : true){
|
||||
thisModule.spread(elemGroup);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
//判断子级菜单是否超出屏幕
|
||||
|
@ -507,7 +507,7 @@ layui.define(['jquery', 'laytpl', 'lay'], function(exports){
|
|||
//是否超出底部屏幕
|
||||
if(rect.bottom > _WIN.height()){
|
||||
elemPanel.eq(0).css('margin-top', -(rect.bottom - _WIN.height() + 5));
|
||||
};
|
||||
}
|
||||
}).on('mouseleave', ELEM_LI_PAR, function(e){
|
||||
var othis = $(this)
|
||||
,elemPanel = othis.children('.'+ STR_MENU_PANEL);
|
||||
|
|
Loading…
Reference in New Issue