From 1cf6d9fb8cf2f10e302509f033d8d55b4e60712c Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Sun, 14 Aug 2022 01:45:42 +0800
Subject: [PATCH] 优化友链布局,月台窗口自适应,处理hls取消后仍然缓存问题

---
 src/components/mini/box-17-linkAdd.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/components/mini/box-17-linkAdd.vue b/src/components/mini/box-17-linkAdd.vue
index b263c30..1284041 100644
--- a/src/components/mini/box-17-linkAdd.vue
+++ b/src/components/mini/box-17-linkAdd.vue
@@ -19,6 +19,7 @@
 					</a-select-option>
 				</a-select>
 			</a-form-model-item>
+			
 
 			<a-form-model-item label="avatar" prop="avatar">
 				<a-input v-model="form.avatar" placeholder="链接图片地址" />
@@ -53,7 +54,7 @@
 					url: '',
 					avatar: '',
 					remark: '',
-					linkType: '',
+					linkType: undefined,
 					topValue: 50,
 					isNewWindowOpen: 1
 				},
@@ -90,8 +91,8 @@
 						},
 						{
 							trigger: 'blur',
-							pattern: /^((https|http)?:\/\/)[^\s]+/,
-							message: '仅支持 https | http'
+							pattern: /^((https|http)?:\/\/)+/,
+							message: '仅支持 https:// | http://'
 						}
 					],
 					linkType: [{
@@ -103,8 +104,8 @@
 						required: false,
 					}, {
 						trigger: 'blur',
-						pattern: /^((https|http)?:\/\/)[^\s]+/,
-						message: '仅支持 https | http'
+						pattern: /^((https|http)?:\/\/)+/,
+						message: '仅支持 https:// | http://'
 					}],
 
 				}

--
Gitblit v1.9.1