|
@@ -207,8 +207,13 @@ export default {
|
|
|
this.params.pageNum = val
|
|
|
this.getList()
|
|
|
},
|
|
|
- toDetail (item) {
|
|
|
- // console.log('item',item)
|
|
|
+ async toDetail (item) {
|
|
|
+ console.log('item',item.id)
|
|
|
+ let result = await this.$http({
|
|
|
+ url: `/api/web/addVisitNews/${item.id}`
|
|
|
+ })
|
|
|
+ console.log('阅读量记录成功',result);
|
|
|
+
|
|
|
if (item.wxUrl) return
|
|
|
this.$router.push({
|
|
|
path: '/information-detail',
|