This commit is contained in:
dzj 2024-05-08 14:21:33 +08:00
parent 5bd1e47cc2
commit f23a061ef7
2 changed files with 5 additions and 4 deletions

View File

@ -11,9 +11,10 @@ export function getproject(){
})
}
//获取新闻内容
export function getnews(){
export function getnews(params){
return request({
url:'article/list'
url:'article/list',
params
})
}
//获取首页行业动态内容

View File

@ -242,8 +242,8 @@ export default {
})
//
getnews().then((res)=>{
this.newsitem=res.data[1]
getnews({'page':0}).then((res)=>{
this.newsitem=res.data.content[1]
})
//
// this.observer = new IntersectionObserver(entries => {