提交 72681e5c 编写于 作者: U unknown

修复人员选择待选项唯一默认选中可能出现的问题

上级 656fa034
......@@ -1471,7 +1471,8 @@ MWF.xApplication.Selector.Person = new Class({
if( !category.subItems[0].isSelected )category.subItems[0].clickItem();
}
}else if(category.subCategorys.length === 1){
if( !category.subCategorys[0]._hasChild || !category.subCategorys[0]._hasChild() ){ //category.subCategorys[0].isItem &&
if( category.subItems && category.subItems.length > 0 ){
}else if( !category.subCategorys[0]._hasChild || !category.subCategorys[0]._hasChild() ){ //category.subCategorys[0].isItem &&
if( !category.subItems[0].isSelected )category.subItems[0].clickItem();
}else{
checkCategory( category.subCategorys[0] )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册