From da64ab0923bf8817fc8599a6e37b953ce38f64c8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 27 八月 2023 18:37:36 +0800 Subject: [PATCH] 2023-08-27 --- 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