Merge pull request '开芯院专区bug修复' (#545) from Eeeros/forgeplus-react:cs_news into cs_news

This commit is contained in:
durian 2023-06-15 17:26:38 +08:00
commit 831698986b
4 changed files with 8 additions and 7 deletions

View File

@ -33,11 +33,11 @@ function NewsList(props){
}
},[id,cateId,pageNum])
useEffect(()=>{
if(pageNum){
window.scrollTo(0,400);
}
},[pageNum])
// useEffect(()=>{
// if(pageNum){
// window.scrollTo(0,400);
// }
// },[pageNum])
function getColumnDetail(){

View File

@ -166,7 +166,7 @@ function ProjectSource(props){
:""
}
{
lists && lists.length === 0 && temp === 'zone1' ? <Nodata _html="暂无数据" img={ nodata }/> : <Nodata _html="暂无数据" />
lists && lists.length === 0 && (temp === 'zone1' ? <Nodata _html="暂无数据" img={ nodata }/> : <Nodata _html="暂无数据" />)
}
</div>
</Spin>

View File

@ -106,6 +106,7 @@
}
.commentContentBox{
display: flex;
align-items: flex-start;
}
.commentContentRight{
flex: 1;

View File

@ -110,7 +110,7 @@ const arithmeticArr2023 = [
name: "MMagic算法演示",
describe: "MMagic 是 OpenMMLab 中的图像&视频生成和编辑的开源算法平台,涵盖 GANdiffusion model 多种生成模型,支持 Stable Diffusion 的微调和多种 diffusion 应用。同时支持图像修复、图文生成、3D生成、图像修补、抠图、超分辨率和生成等多种任务。利用 MMagic通过组合不同模块轻松构建自定义的生成模型。",
source: 'https://www.gitlink.org.cn/api/attachments/422478.mp4',
img: 'https://www.gitlink.org.cn/api/attachments/388256',
img: 'https://www.gitlink.org.cn/api/attachments/422779',
type: 'mp4',
},
];