去掉consolo语句

This commit is contained in:
谢思 2021-09-30 08:52:53 +08:00
parent 1750544c0d
commit 9ebdbec859
1 changed files with 0 additions and 3 deletions

View File

@ -11,7 +11,6 @@ import RenderHtml from '../../../components/render-html';
import User from "../../Component/User";
function version(props) {
console.log(props);
const [ data , setData ] = useState(undefined);
const [ releases , setReleases ] = useState(undefined);
const [ isSpin , setIsSpin ] = useState(true);
@ -20,7 +19,6 @@ function version(props) {
const type = props.projectDetail && props.projectDetail.type;
const turnFromNew = location && location.query && location.query.turnFromNew;
const current_user_login = user && user.login;
owner && console.log(owner);
useEffect(()=>{
getIssueList();
},[])
@ -30,7 +28,6 @@ function version(props) {
axios.get(url).then((result) => {
if (result) {
setData(result.data);
console.log('data',result.data)
const { releases = [] } = result.data;
//默认第一个展开body参数)
releases.length && (releases[0].bodyshow = true);