forked from Gitlink/forgeplus-react
bot issue
This commit is contained in:
parent
5f159222b4
commit
bdecf6f136
|
|
@ -122,7 +122,7 @@ function DispositionDetail(props){
|
|||
<div className="ml40 font-16">
|
||||
<div className="font-22"><a href={`/softbot/${id}`}>{botDetail && botDetail.market_name}</a></div>
|
||||
<a className="mr30 color88" href={`/${botDetail.register_login}`}>{botDetail && botDetail.register_name}</a>
|
||||
<span className="color88">{botDetail && botDetail.create_time && moment(botDetail.create_time).format('YYYY-MM-DD hh:mm:ss')}</span>
|
||||
<span className="color88">{botDetail && botDetail.create_time}</span>
|
||||
</div>
|
||||
</div>}
|
||||
<Button style={{width: '53px', padding: '0'}} className="grayBorBut"><Link to={`/settings/dispositionBot`}>返回</Link></Button>
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ function DispositionBot(props){
|
|||
const [reload, setReload] = useState(undefined);
|
||||
|
||||
useEffect(()=>{
|
||||
window.scrollTo(0,0);
|
||||
document.title='Bot安装';
|
||||
}, [])
|
||||
|
||||
|
|
|
|||
|
|
@ -149,6 +149,9 @@ function AdvancedInformation(props){
|
|||
setVisibleDelete(false);
|
||||
message.success("更改成功");
|
||||
setReload(Math.random());
|
||||
}else{
|
||||
setVisibleDelete(false);
|
||||
message.error(res.message);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,7 @@ function BasicInformation(props){
|
|||
const params = {
|
||||
...botDetail,
|
||||
...fieldsValue,
|
||||
bot_id: parseInt(id),
|
||||
logo: imageId ? '/api/attachments/'+imageId : '/api/attachments/347246'
|
||||
bot_id: parseInt(id)
|
||||
}
|
||||
registerUpdateBot(params).then(res=>{
|
||||
if(res && res.code === 200){
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ function ExploitBot(props){
|
|||
const [reload, setReload] = useState(undefined);
|
||||
|
||||
useEffect(()=>{
|
||||
window.scrollTo(0,0);
|
||||
document.title='我的Bot';
|
||||
}, [])
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ function Disposition(props){
|
|||
|
||||
return <div className="createExploitBox">
|
||||
<div className="ceHead pb5 font-16 mb10">
|
||||
<Link to={`/settings/exploitBot`} className="blue-Purple">开发Bot</Link><span className="ceTitle font-18"><i className="iconfont icon-youjiantou ml5 mr5 font-12"></i>注册新的Bot</span>
|
||||
<Link to={`/settings/exploitBot`} className="blue-Purple">我的Bot</Link><span className="ceTitle font-18"><i className="iconfont icon-youjiantou ml5 mr5 font-12"></i>注册新的Bot</span>
|
||||
</div>
|
||||
<Form className="createExploitForm" onSubmit={submit}>
|
||||
<Form.Item label="Bot名称" className="width50 botItem">
|
||||
|
|
|
|||
Loading…
Reference in New Issue