解决白名单获取落地页模板传参问题和禁用白名单输入框

This commit is contained in:
姜棚 2022-01-22 10:37:03 +08:00
parent 9375aac06c
commit 35d970a1eb
1 changed files with 4 additions and 2 deletions

View File

@ -124,9 +124,11 @@ export default class acclist extends React.Component{
console.log("key样式",data.style) console.log("key样式",data.style)
if(data.style == 6) if(data.style == 6)
{ {
sessionStorage.setItem("white",1) sessionStorage.setItem("white",1)
} }
else{
sessionStorage.setItem("white",0)
}
return data; return data;
} }
@ -986,7 +988,7 @@ export default class acclist extends React.Component{
this.setState({model:model2}) this.setState({model:model2})
}} }}
value={this.state.model.quantity} disabled={this.state.model.style == 5} placeholder={"请输入"} labelWidth={'0px'} maxLength={5} height={'36px'} width={'400px'} alignment={'left'}/> value={this.state.model.quantity} disabled={this.state.model.style == 6} placeholder={"请输入"} labelWidth={'0px'} maxLength={5} height={'36px'} width={'400px'} alignment={'left'}/>