This commit is contained in:
caishi 2021-11-29 16:25:55 +08:00
parent 2f88227388
commit d6b0eee067
3 changed files with 3 additions and 2 deletions

View File

@ -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`);
} }

View File

@ -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: [],

View File

@ -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">