change regexp of validating cluster endpoint
This commit is contained in:
parent
e6c8216d7b
commit
f66adcdcea
|
@ -41,7 +41,7 @@ export class InitialStep extends React.Component {
|
|||
rules: [
|
||||
{
|
||||
type: "string",
|
||||
pattern: /^[\w\.\-_~%]+\:\d+$/, //(https?:\/\/)?
|
||||
pattern: /^[\w\.\-_~%]+(\:\d+)?$/, //(https?:\/\/)?
|
||||
message: "请输入域名或 IP 地址和端口号",
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue