This commit is contained in:
sentsin 2017-10-30 15:13:06 +08:00
parent 8ccb98f6cd
commit 9898a77bd9
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

2
dist/layui.all.js vendored

File diff suppressed because one or more lines are too long

View File

@ -99,7 +99,7 @@ layui.define('jquery', function(exports){
var othis = liElem || $(this)
,index = index || othis.parent().children('li').index(othis)
,parents = options.headerElem ? othis.parent() : othis.parents('.layui-tab').eq(0)
,item = $(options.bodyElem) || parents.children('.layui-tab-content').children('.layui-tab-item')
,item = options.bodyElem ? $(options.bodyElem) : parents.children('.layui-tab-content').children('.layui-tab-item')
,elemA = othis.find('a')
,filter = parents.attr('lay-filter');