diff --git a/pages/list/detail.vue b/pages/list/detail.vue index be8d257a7c365c3ea678d0a79c399cea48bdd09a..92ee724d10d023cacffc389ef60128354e073725 100644 --- a/pages/list/detail.vue +++ b/pages/list/detail.vue @@ -93,8 +93,6 @@ } }, onLoad(event) { - // console.log(event); - // event = {"id":"60783c5cb781700001375672","title":"阿里小程序IDE官方内嵌uni-app,为开发者提供多端开发服务","excerpt":"阿里小程序IDE官方内嵌uni-app,为开发者提供多端开发服务","avatar":"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-aliyun-gacrhzeynhss7c6d04/249516a0-3941-11eb-899d-733ae62bed2f.jpg"} //获取真实新闻id,通常 id 来自上一个页面 if (event.id) { this.id = event.id