service regular fix (#110)
* fix regular dot * add yarn.lock to .gitignore
This commit is contained in:
parent
c3870840e8
commit
894723f7e6
|
@ -48,5 +48,6 @@ _test
|
||||||
|
|
||||||
/web/node_modules
|
/web/node_modules
|
||||||
/web/.cache-loader
|
/web/.cache-loader
|
||||||
|
/web/yarn.lock
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ class CollectForm extends Component<Props & WrappedComponentProps> {
|
||||||
initialValue: service,
|
initialValue: service,
|
||||||
rules: [
|
rules: [
|
||||||
{ required: true },
|
{ required: true },
|
||||||
{ pattern: /^[a-zA-Z0-9-]+$/, message: this.props.intl.formatMessage({ id: 'collect.port.pattern.msg' }) },
|
{ pattern: /^[a-zA-Z0-9-_.]+$/, message: this.props.intl.formatMessage({ id: 'collect.port.pattern.msg' }) },
|
||||||
],
|
],
|
||||||
})}
|
})}
|
||||||
size="default"
|
size="default"
|
||||||
|
|
Loading…
Reference in New Issue