提交 d6cbbc13 编写于 作者: 泰斯特Test's avatar 泰斯特Test

[fix](Globalhost.vue)修复IP端口仅能输入4位数的问题

上级 31ab5169
......@@ -196,7 +196,7 @@
+ '([0-9a-z_!~*\'()-]+.)*' // 域名- www.
+ '([0-9a-z][0-9a-z-]{0,61})?[0-9a-z].' // 二级域名
+ '[a-z]{2,6})' // first level domain- .com or .museum
+ '(:[0-9]{1,4})?' // 端口- :80
+ '(:[0-9]{1,5})?' // 端口- :80
+ '((/?)|' // a slash isn't required if there is no file name
+ '(/[0-9a-z_!~*\'().;?:@&=+$,%#-]+)+/?)$';
let re = new RegExp(strRegex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册