forked from Gitlink/forgeplus-react
新建页面-取消按钮
This commit is contained in:
parent
2438ee2e6c
commit
11ad5150ca
|
@ -635,7 +635,7 @@ class Index extends Component {
|
|||
</div>
|
||||
<Form.Item className="formTip mt20">
|
||||
<Button type="primary" onClick={this.subMitFrom} className="mr20">{projectsType && projectsType === "mirror" ? "导入" : "创建"}项目</Button>
|
||||
<Link to={'/explore'} className="btn_32">取消</Link>
|
||||
<a onClick={()=>window.history.back(-1)} className="btn_32">取消</a>
|
||||
</Form.Item>
|
||||
</div>
|
||||
</Form>
|
||||
|
|
|
@ -62,6 +62,7 @@ class Index extends Component {
|
|||
const { changeIsComplete } = this.props;
|
||||
changeIsComplete && changeIsComplete(true);
|
||||
const file = info.file;
|
||||
console.log(file);
|
||||
if(file && !file.type){
|
||||
let flag = this.checkFile(file.name);
|
||||
if(!flag) return;
|
||||
|
|
Loading…
Reference in New Issue