去掉consolo语句
This commit is contained in:
parent
1750544c0d
commit
9ebdbec859
|
@ -11,7 +11,6 @@ import RenderHtml from '../../../components/render-html';
|
||||||
import User from "../../Component/User";
|
import User from "../../Component/User";
|
||||||
|
|
||||||
function version(props) {
|
function version(props) {
|
||||||
console.log(props);
|
|
||||||
const [ data , setData ] = useState(undefined);
|
const [ data , setData ] = useState(undefined);
|
||||||
const [ releases , setReleases ] = useState(undefined);
|
const [ releases , setReleases ] = useState(undefined);
|
||||||
const [ isSpin , setIsSpin ] = useState(true);
|
const [ isSpin , setIsSpin ] = useState(true);
|
||||||
|
@ -20,7 +19,6 @@ function version(props) {
|
||||||
const type = props.projectDetail && props.projectDetail.type;
|
const type = props.projectDetail && props.projectDetail.type;
|
||||||
const turnFromNew = location && location.query && location.query.turnFromNew;
|
const turnFromNew = location && location.query && location.query.turnFromNew;
|
||||||
const current_user_login = user && user.login;
|
const current_user_login = user && user.login;
|
||||||
owner && console.log(owner);
|
|
||||||
useEffect(()=>{
|
useEffect(()=>{
|
||||||
getIssueList();
|
getIssueList();
|
||||||
},[])
|
},[])
|
||||||
|
@ -30,7 +28,6 @@ function version(props) {
|
||||||
axios.get(url).then((result) => {
|
axios.get(url).then((result) => {
|
||||||
if (result) {
|
if (result) {
|
||||||
setData(result.data);
|
setData(result.data);
|
||||||
console.log('data',result.data)
|
|
||||||
const { releases = [] } = result.data;
|
const { releases = [] } = result.data;
|
||||||
//默认第一个展开(body参数)
|
//默认第一个展开(body参数)
|
||||||
releases.length && (releases[0].bodyshow = true);
|
releases.length && (releases[0].bodyshow = true);
|
||||||
|
|
Loading…
Reference in New Issue