去掉多余判断

This commit is contained in:
liaoxuezhi 2019-07-15 11:59:57 +08:00
parent a644309c8e
commit cab099a5a2

View File

@ -85,7 +85,7 @@ export default class ChainedSelectControl extends React.Component<ChainedSelectP
idx++;
}
if (!arr[idx] || !env || !source || !isEffectiveApi(source, data)) {
if (!arr[idx] || !env || !isEffectiveApi(source, data)) {
return;
}