From 49f09cc6f8ff8c30a75ed1a9d6f510b69b73962a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 12 十二月 2023 21:05:37 +0800
Subject: [PATCH] 2023-12-12

---
 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