From fc5c58dba3e3524e3bfb75ee91e8ac892e96c598 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 24 六月 2023 11:58:27 +0800
Subject: [PATCH] 2023-06-24

---
 src/components/keyInterface/index.jsx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/keyInterface/index.jsx b/src/components/keyInterface/index.jsx
index 1319549..4e11761 100644
--- a/src/components/keyInterface/index.jsx
+++ b/src/components/keyInterface/index.jsx
@@ -205,8 +205,8 @@
                       message: '璇疯緭鍏ユ帴鍙e湴鍧�!'
                     },
                     {
-                      pattern: /^[0-9a-zA-Z:_./]+$/,
-                      message: '鍙彲浣跨敤鑻辨枃銆佹暟瀛椾互鍙�:_./'
+                      pattern: /^[0-9a-zA-Z:_\-./]+$/,
+                      message: '鍙彲浣跨敤鑻辨枃銆佹暟瀛椾互鍙�:_-./'
                     }
                   ]
                 })(<TextArea placeholder="http://******/webapi/dostars" rows={2}/>)}
@@ -216,8 +216,8 @@
                   initialValue: setting.ssoInterface || '',
                   rules: [
                     {
-                      pattern: /^[0-9a-zA-Z:_./]+$/,
-                      message: '鍙彲浣跨敤鑻辨枃銆佹暟瀛椾互鍙�:_./'
+                      pattern: /^[0-9a-zA-Z:_\-./]+$/,
+                      message: '鍙彲浣跨敤鑻辨枃銆佹暟瀛椾互鍙�:_-./'
                     }
                   ]
                 })(<TextArea placeholder="http://sso.mk9h.cn/cloud/webapi/dostars" rows={2}/>)}

--
Gitblit v1.8.0