yangjie #45

Merged
yangqiang merged 19 commits from yangjie into master 2024-12-18 13:52:10 +08:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit d0387662a6 - Show all commits

View File

@ -415,6 +415,7 @@ const User: React.FC = () => {
<Input
placeholder="请输入届"
value={addUserFrom.year}
maxLength={4}
onChange={(e) => {
const regex = /^[0-9]*$/;
if (regex.test(e.target.value)) {