forked from Gitlink/forgeplus-react
仓库设置-可修改项目标识
This commit is contained in:
parent
2060e28ca2
commit
fe4c5a79d2
|
@ -2456,7 +2456,7 @@ a.hoverLine:hover{
|
||||||
|
|
||||||
|
|
||||||
.color-grey-9 {
|
.color-grey-9 {
|
||||||
color: #333333 !important;
|
color: #999 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover{
|
a:hover{
|
||||||
|
|
|
@ -161,12 +161,12 @@ class Setting extends Component {
|
||||||
loading:false
|
loading:false
|
||||||
})
|
})
|
||||||
this.props.showNotification(`仓库信息修改成功!`);
|
this.props.showNotification(`仓库信息修改成功!`);
|
||||||
// if(values.project_identifier !== projectsId){
|
if(values.project_identifier !== projectsId){
|
||||||
// this.props.history.push(`/${owner}/${values.project_identifier}/settings`);
|
this.props.history.push(`/${owner}/${values.project_identifier}/settings`);
|
||||||
// }else{
|
}else{
|
||||||
// }
|
|
||||||
const { getDetail } = this.props;
|
const { getDetail } = this.props;
|
||||||
getDetail && getDetail();
|
getDetail && getDetail();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
@ -288,7 +288,9 @@ class Setting extends Component {
|
||||||
)}
|
)}
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</div>
|
</div>
|
||||||
{/* <Form.Item label="项目标识 (项目url标识部分,更改项目标识将导致原仓库地址失效)">
|
<Form.Item
|
||||||
|
label={<span>项目标识 <span className="color-grey-9">(项目url标识部分,更改项目标识将导致原仓库地址失效)</span></span>}
|
||||||
|
>
|
||||||
{getFieldDecorator("project_identifier", {
|
{getFieldDecorator("project_identifier", {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
@ -299,7 +301,7 @@ class Setting extends Component {
|
||||||
})(
|
})(
|
||||||
<Input placeholder="项目标识请使用与项目相关的英文关键字" maxLength="100" />
|
<Input placeholder="项目标识请使用与项目相关的英文关键字" maxLength="100" />
|
||||||
)}
|
)}
|
||||||
</Form.Item> */}
|
</Form.Item>
|
||||||
<Form.Item label="项目简介">
|
<Form.Item label="项目简介">
|
||||||
{getFieldDecorator("project_description", {
|
{getFieldDecorator("project_description", {
|
||||||
rules: [],
|
rules: [],
|
||||||
|
|
Loading…
Reference in New Issue