diff --git a/src/components/InputBox.tsx b/src/components/InputBox.tsx index f094deb1..54761a6f 100644 --- a/src/components/InputBox.tsx +++ b/src/components/InputBox.tsx @@ -103,6 +103,7 @@ export class InputBox extends React.Component { placeholder={placeholder} onFocus={this.handleFocus} onBlur={this.handleBlur} + size={12} /> {children} diff --git a/src/components/condition-builder/Group.tsx b/src/components/condition-builder/Group.tsx index 6c3134ef..4f21d632 100644 --- a/src/components/condition-builder/Group.tsx +++ b/src/components/condition-builder/Group.tsx @@ -162,7 +162,7 @@ export class ConditionGroup extends React.Component { size="xs" className="m-r-xs" > - + 添加条件组 diff --git a/src/components/icons.tsx b/src/components/icons.tsx index dbc0659a..bc948981 100644 --- a/src/components/icons.tsx +++ b/src/components/icons.tsx @@ -131,6 +131,9 @@ import SortDescIcon from '../icons/sort-desc.svg'; // @ts-ignore import SettingIcon from '../icons/setting.svg'; +// @ts-ignore +import PlusCicleIcon from '../icons/plus-cicle.svg'; + // 兼容原来的用法,后续不直接试用。 // @ts-ignore export const closeIcon = ; @@ -217,6 +220,7 @@ registerIcon('sort-default', SortDefaultIcon); registerIcon('sort-asc', SortAscIcon); registerIcon('sort-desc', SortDescIcon); registerIcon('setting', SettingIcon); +registerIcon('plus-cicle', PlusCicleIcon); export function Icon({ icon, diff --git a/src/icons/plus-cicle.svg b/src/icons/plus-cicle.svg new file mode 100644 index 00000000..e2eab0dc --- /dev/null +++ b/src/icons/plus-cicle.svg @@ -0,0 +1,9 @@ + + + + + + + + +