From 8a78a168065f9482cd5b72a7a94dbe1ede585ab7 Mon Sep 17 00:00:00 2001 From: liuchuang <123456> Date: Thu, 18 Mar 2021 14:55:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AE=B9=E9=80=9A=E7=9F=A5=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E5=8A=9F=E8=83=BD=E8=81=94=E8=B0=83=E6=B5=8B=E8=AF=95?= =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/news/notice.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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(() => {}) },