分销商新增密码复制账号密码,取消编辑复制按钮

This commit is contained in:
red-deng-deng 2021-12-06 12:53:13 +08:00
parent 17a13e7613
commit 65490f36d6
1 changed files with 5 additions and 3 deletions

View File

@ -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('复制成功!');}}>
{
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>
</CopyButton>:null
}
</div>
</FormItem>