1
This commit is contained in:
@@ -36,14 +36,9 @@
|
||||
this.imgUrl = uni.getStorageSync('img_url')
|
||||
},
|
||||
methods: {
|
||||
//获取行业新闻
|
||||
// {
|
||||
// pageSize: 2,
|
||||
// pageNum: 1
|
||||
// }
|
||||
getNews() {
|
||||
this.$apiServe.getNews().then(res => {
|
||||
// console.log('行业新闻', res.data.data)
|
||||
console.log('行业新闻', res.data.data)
|
||||
for (const item of res.data.data) {
|
||||
item.pub_time_str = dateFormat(item.pub_time_str)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user