Merge branch 'dev_management' of https://gitlink.org.cn/Gitlink/forgeplus-react into dev_management
This commit is contained in:
commit
d0b126edbb
|
|
@ -232,10 +232,10 @@ class Index extends Component {
|
|||
license_id:licenseFlag ? license_id : undefined,
|
||||
ignore_id:ignoreFlag ? ignore_id : undefined,
|
||||
// user_id:owners_id,
|
||||
blockchain: tokenConTri,
|
||||
blockchain_token_all: 10000,
|
||||
blockchain_init_token: parseInt(blockchain_init),
|
||||
auth_token:((projectsType && projectsType === "mirror") && gitHubUrl)? values.auth_token : undefined
|
||||
// blockchain: tokenConTri,
|
||||
// blockchain_token_all: 10000,
|
||||
// blockchain_init_token: parseInt(blockchain_init),
|
||||
// auth_token:((projectsType && projectsType === "mirror") && gitHubUrl)? values.auth_token : undefined
|
||||
}).then((result) => {
|
||||
if (result && result.data.id) {
|
||||
projectsType && projectsType !== "mirror" && this.props.showNotification(`项目创建成功!`);
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ export function TPMIndexHOC(WrappedComponent) {
|
|||
items.map((item, index) => {
|
||||
return <a
|
||||
className={`nav columnAlignCenter title1ColorSpan ${index===3? "active" :""}`}
|
||||
href={ `https://testpm.trustie.net${item.path}` }
|
||||
href={ `https://testpm.trustie.net/${ path.split('/')[1] === (current_user && current_user.login) ? 'prefecture' : path.split('/')[1] }${item.path}` }
|
||||
onMouseOver={() => this.setState({active:item.icon}) }
|
||||
onMouseLeave={() => this.setState({active:""}) }
|
||||
// onMouseOver={() => setActive(item.icon)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue