@@ -896,18 +898,18 @@ export default class ComboControl extends React.Component
{
? value.map((value, index, thelist) => {
const toolbar: Array = [];
- if (!disabled && draggable && thelist.length > 1) {
- toolbar.push(
-
-
-
- );
- }
+ // if (!disabled && draggable && thelist.length > 1) {
+ // toolbar.push(
+ //
+ //
+ //
+ // );
+ // }
if (
finnalRemovable && // 表达式判断单条是否可删除
@@ -926,7 +928,7 @@ export default class ComboControl extends React.Component {
data-tooltip="删除"
data-position="bottom"
>
-
+ {deleteIcon ? : }
);
}
@@ -954,6 +956,17 @@ export default class ComboControl extends React.Component {
className={cx(`Combo-item`)}
key={this.keys[index] || (this.keys[index] = guid())}
>
+ {!disabled && draggable && thelist.length > 1 ? (
+
+ ): null}
{condition && typeSwitchable !== false ? (