diff --git a/src/views/modules/news/notice.vue b/src/views/modules/news/notice.vue index 2b3b749..c9962e7 100644 --- a/src/views/modules/news/notice.vue +++ b/src/views/modules/news/notice.vue @@ -88,7 +88,7 @@ type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }} - 发布 @@ -260,6 +260,11 @@ export default { noticeComments (id) { this.noticeCommentVisible = true this.showNoticeCommentsNoticeId = id + this.order = '' + this.orderField = '' + this.pageIndex = 1 + this.limitVal = 10 + this.total = 0 this.getNoticeCommentList() }, pageSizeChangeHandleNew (val) { @@ -279,7 +284,7 @@ export default { this.total = 0 return this.$message.error(res.msg) } - this.noticeComments = res.data.list + this.noticeCommentsData = res.data.list this.total = res.data.total }).catch(() => {}) },