diff --git a/src/components/News/index.vue b/src/components/News/index.vue index af5e651..2307822 100644 --- a/src/components/News/index.vue +++ b/src/components/News/index.vue @@ -160,7 +160,6 @@ * 获取详情列表 */ getList(options) { - console.log('options: ', options); const { pageNum, pageSize, showPage } = this; const params = { pageNum, @@ -171,7 +170,7 @@ params.showType = 0 } if(showPage === '0204'){ - params.showPage = options.showPage + params.showPage = options && options.showPage ? options.showPage : '0203' params.showType = 1 } if(options){