Compare commits

..

No commits in common. 'ab4a0e99ccd805032afcc0af7859d6cdf9f8319e' and '9037901d038cdc4c411e16ebf36a21030432e86b' have entirely different histories.

@ -97,9 +97,6 @@ const HandleModal = ({ visible, onChangeVisible, onRefresh }) => {
if (value.includes('**empty**')) {
return cb('非法事件标识,请重新输入');
}
if (!/^[A-Za-z0-9_]+$/.test(value)) {
return cb('事件标识只能输入英文字母、数字和下划线');
}
return cb();
}

@ -151,9 +151,6 @@ const AddGlobalVarModal = ({ visible, onOk, onChangeVisible, form }) => {
if (!value) {
return cb('请填写变量名');
}
if (!/^[A-Za-z0-9_]+$/.test(value)) {
return cb('变量名只能输入英文字母、数字和下划线');
}
return cb();
}

Loading…
Cancel
Save