mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-01 22:50:44 +08:00
调整网站链接校验
This commit is contained in:
@@ -47,7 +47,7 @@ export const rules = reactive<FormRules>({
|
||||
},
|
||||
{
|
||||
pattern:
|
||||
/^([hH][tT]{2}[pP]:\/\/|[hH][tT]{2}[pP][sS]:\/\/)(([A-Za-z0-9-~]+)\.)+([A-Za-z0-9-~\/])+$/,
|
||||
/(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?/,
|
||||
message: '请输入合法的网址链接',
|
||||
trigger: ['blur', 'change']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user