未验证 提交 894723f7 编写于 作者: Y yimeng 提交者: GitHub

service regular fix (#110)

* fix regular dot

* add yarn.lock to .gitignore
上级 c3870840
......@@ -48,5 +48,6 @@ _test
/web/node_modules
/web/.cache-loader
/web/yarn.lock
......@@ -121,7 +121,7 @@ class CollectForm extends Component<Props & WrappedComponentProps> {
initialValue: service,
rules: [
{ 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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册