forked from Gitlink/forgeplus-react
update
This commit is contained in:
parent
2f88227388
commit
d6b0eee067
|
@ -340,7 +340,7 @@ function CoderDepot(props){
|
||||||
|
|
||||||
function createIssue(){
|
function createIssue(){
|
||||||
if(baseOper){
|
if(baseOper){
|
||||||
window.open(`/${owner}/${projectsId}/issues/new`,'_blank');
|
props.history.push(`/${owner}/${projectsId}/issues/new`);
|
||||||
}else{
|
}else{
|
||||||
props.showLoginDialog(`/${owner}/${projectsId}/issues/new`);
|
props.showLoginDialog(`/${owner}/${projectsId}/issues/new`);
|
||||||
}
|
}
|
||||||
|
|
|
@ -226,6 +226,7 @@ class order extends Component {
|
||||||
|
|
||||||
// 翻页
|
// 翻页
|
||||||
ChangePage = (page) => {
|
ChangePage = (page) => {
|
||||||
|
window.scrollTo(0,0);
|
||||||
this.setState({
|
this.setState({
|
||||||
isSpin: true,
|
isSpin: true,
|
||||||
checkedValue: [],
|
checkedValue: [],
|
||||||
|
|
|
@ -445,7 +445,7 @@ class NewTags extends Component {
|
||||||
message: "请填写标记名字",
|
message: "请填写标记名字",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
})(<Input placeholder="名称,10字以内" maxLength="10" />)}
|
})(<Input placeholder="名称,15字以内" maxLength="15" />)}
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
<Form.Item className="inputcount">
|
<Form.Item className="inputcount">
|
||||||
|
|
Loading…
Reference in New Issue