From 21167ece56edd628e6f6546d1d642947cc3a048f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 12 八月 2024 22:17:33 +0800 Subject: [PATCH] 2024-08-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