修复搜索环境变量urlencode

This commit is contained in:
whyour
2021-12-05 23:04:26 +08:00
parent 0318f03283
commit dfb159c4ad
12 changed files with 53 additions and 10 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ const EnvModal = ({
rules={[
{ required: true, message: '请输入环境变量名称', whitespace: true },
{
pattern: /^[a-zA-Z_][0-9a-zA-Z_]+$/,
pattern: /^[a-zA-Z_][0-9a-zA-Z_]*$/,
message: '只能输入字母数字下划线,且不能以数字开头',
},
]}