+ {Array.isArray(value) && value.length ? (
+ value.map((item, index) => (
+
+
+ {itemRender(item)}
+
+
+
+
+
+ ))
+ ) : allowInput ? null : (
+
+ {placeholder || '无'}
+
+ )}
+
+ {allowInput ? (
+
+ ) : (
+
+ )}
+
+ {clearable && !disabled && Array.isArray(value) && value.length ? (
+
+
+
+ ) : null}
+
+ {children}
+
+ );
+ }
+}
+
+export default themeable(
+ uncontrollable(ResultBox, {
+ value: 'onChange',
+ inputValue: 'onInputChange'
+ })
+);