更新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; let model2 = this.state.model;
model2.quantity = e; model2.quantity = e;
this.setState({model:model2}) 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}) 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> </FormItem>

View File

@ -199,11 +199,11 @@ export default class commoditylist extends React.Component{
}} }}
checkChange ={this.selection.bind(this)} checkChange ={this.selection.bind(this)}
ComponentHandler={(com,rowData)=>{ ComponentHandler={(com,rowData)=>{
if(com == "status") if(com == "status")
{ {
return <Tag theme="blue" outline> return <Tag theme="blue" outline>
{rowData.status} {rowData.status}
</Tag>; </Tag>;
} }
if(com == "opearo") if(com == "opearo")
{ {