工作流author

This commit is contained in:
caishi 2021-03-31 17:13:10 +08:00
parent c74c40b73e
commit 3b3d6dc8b1
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ function About(props, ref) {
const [ typeFlag, setTypeFlag] = useState(false);
const AuthorLogin = props.author && props.author.login;
const AuthorLogin = props.projectDetail && props.projectDetail.author && props.projectDetail.author.login;
const CurrentLogin = props.current_user && props.current_user.login;
useEffect(()=>{
if(CurrentLogin === AuthorLogin){