fixed Cascader bug

This commit is contained in:
梁灏 2017-08-09 16:45:22 +08:00
parent eaf51d3e5d
commit 53a6915a94
2 changed files with 55 additions and 52 deletions

View file

@ -67,7 +67,9 @@
if (fromUser) {
cascader.isLoadedChildren = true;
}
this.handleTriggerItem(item);
if (item.children.length) {
this.handleTriggerItem(item);
}
});
return;
}