修复选择控件逻辑错误
Merge pull request #134 from curarchy/fix-treerichselector-bug

修复控件选择逻辑错误。
Merge pull request #6 from ecomfe/master

同步主干