From 469608acf585c13b57a7911a2e13e707473cff8b Mon Sep 17 00:00:00 2001 From: ruibaby Date: Fri, 6 Sep 2019 13:01:04 +0800 Subject: [PATCH] Frankly, I don't know how to write this commit information. --- src/views/attachment/AttachmentList.vue | 5 +++-- src/views/comment/components/CommentTab.vue | 6 +++++- src/views/dashboard/Dashboard.vue | 8 ++++++++ src/views/post/PostList.vue | 1 + src/views/sheet/internal/PhotoList.vue | 4 ++-- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index a914b9640..4bdc4ecb3 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -87,7 +87,7 @@ @@ -110,7 +110,7 @@ {{ item.name }} @@ -256,6 +256,7 @@ export default { }, handleQuery() { this.queryParam.page = 0 + this.pagination.page = 1 this.loadAttachments() }, onUploadClose() { diff --git a/src/views/comment/components/CommentTab.vue b/src/views/comment/components/CommentTab.vue index d7d5b32ab..d911ebc6d 100644 --- a/src/views/comment/components/CommentTab.vue +++ b/src/views/comment/components/CommentTab.vue @@ -119,7 +119,10 @@ slot="status" slot-scope="statusProperty" > - + { vm.interval = setInterval(() => { @@ -419,6 +424,9 @@ export default { this.interval = null this.$log.debug('Cleared interval') } + if (this.logDrawerVisible) { + this.logDrawerVisible = false + } next() }, methods: { diff --git a/src/views/post/PostList.vue b/src/views/post/PostList.vue index d2bcc93a7..a87a6f321 100644 --- a/src/views/post/PostList.vue +++ b/src/views/post/PostList.vue @@ -488,6 +488,7 @@ export default { }, handleQuery() { this.queryParam.page = 0 + this.pagination.current = 1 this.loadPosts() }, handleEditStatusClick(postId, status) { diff --git a/src/views/sheet/internal/PhotoList.vue b/src/views/sheet/internal/PhotoList.vue index 2cfeed234..c6babe923 100644 --- a/src/views/sheet/internal/PhotoList.vue +++ b/src/views/sheet/internal/PhotoList.vue @@ -70,7 +70,7 @@ @@ -89,7 +89,7 @@ {{ item.name }}