分销商新增密码复制账号密码,取消编辑复制按钮
This commit is contained in:
parent
17a13e7613
commit
65490f36d6
|
@ -447,9 +447,11 @@ this.setState({pwdtype:e});
|
|||
}}
|
||||
countShow= {false}
|
||||
value={this.state.model.account} placeholder={"请输入登录账号"} labelWidth={'0px'} maxLength={32} height={'36px'} width={'520px'} alignment={'left'}/>
|
||||
<CopyButton text={'账号:'+this.state.model.account+';密码:'+this.state.model.password} onCopySuccess={()=>{Notify.clear();Notify.success('复制成功!');}}>
|
||||
<Button type="info" disabled={!this.state.model.account||this.state.model.password.length<6}>复制账号密码</Button>
|
||||
</CopyButton>
|
||||
{
|
||||
this.props.enumer==0?<CopyButton text={'账号:'+this.state.model.account+';密码:'+this.state.model.password} onCopySuccess={()=>{Notify.clear();Notify.success('复制成功!');}}>
|
||||
<Button type="info" disabled={!this.state.model.account||this.state.model.password.length<6}>复制账号密码</Button>
|
||||
</CopyButton>:null
|
||||
}
|
||||
</div>
|
||||
</FormItem>
|
||||
|
||||
|
|
Loading…
Reference in New Issue