diff --git a/src/components/Form/index.jsx b/src/components/Form/index.jsx
index 2f12036f..b1b666b2 100644
--- a/src/components/Form/index.jsx
+++ b/src/components/Form/index.jsx
@@ -74,6 +74,11 @@ export default class BaseForm extends React.Component {
this.unMountActions && this.unMountActions();
}
+ get path() {
+ const { location: { pathname = '' } = {} } = this.props;
+ return pathname || '';
+ }
+
get disableSubmit() {
return false;
}
diff --git a/src/components/FormItem/Select/index.jsx b/src/components/FormItem/Select/index.jsx
index df619f3c..952685a4 100644
--- a/src/components/FormItem/Select/index.jsx
+++ b/src/components/FormItem/Select/index.jsx
@@ -62,6 +62,7 @@ export default class index extends Component {
checkOptions,
checkBoxInfo,
allowClear = true,
+ showSearch = true,
...rest
} = this.props;
if (isUndefined(value) || isNull(value)) {
@@ -69,6 +70,7 @@ export default class index extends Component {
@@ -88,6 +90,7 @@ export default class index extends Component {