Commit 0eea334f by fanyj

tijiao

parent 4c9a96c6
......@@ -23,7 +23,7 @@ const CodeInput = ({ value = '', onChange, restrict = false, action }) => {
}
return <Input
placeholder="请输入编号(只允许输入大写英文字母,并且最多3个)"
placeholder="请输入编号"
//disabled={action!=='add'}
maxLength={restrict?3:null}
value={value}
......@@ -267,7 +267,7 @@ const UpdateDirectoryModal = (props) => {
style={{ marginBottom }}
>
{
(action==='detail') ? <span>{dir?.code}</span> : <CodeInput restrict={codeRestrict} action={action} />
(action==='detail') ? <span>{dir?.code}</span> : <CodeInput restrict={false} action={action} />
}
</Form.Item>
{/* {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment