更新key数量限制

This commit is contained in:
姜棚 2021-12-03 14:22:56 +08:00
parent 13be3da241
commit f6c3bdfcd4
3 changed files with 5 additions and 5 deletions

View File

@ -817,7 +817,7 @@ export default class acclist extends React.Component{
let model2 = this.state.model;
model2.quantity = e;
this.setState({model:model2})
}} value={this.state.model.quantity} placeholder={"请输入"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'400px'} alignment={'left'}/>
}} value={this.state.model.quantity} placeholder={"请输入"} labelWidth={'0px'} maxLength={5} height={'36px'} width={'400px'} alignment={'left'}/>
)
}

View File

@ -744,7 +744,7 @@ export default class acclist extends React.Component{
this.setState({model:model2})
}}
value={this.state.model.quantity} placeholder={"请输入"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'400px'} alignment={'left'}/>
value={this.state.model.quantity} placeholder={"请输入"} labelWidth={'0px'} maxLength={5} height={'36px'} width={'400px'} alignment={'left'}/>
</FormItem>