diff --git a/src/views/post/PostList.vue b/src/views/post/PostList.vue index 7f61c958..f9f2894e 100644 --- a/src/views/post/PostList.vue +++ b/src/views/post/PostList.vue @@ -490,11 +490,11 @@ export default { } }, handleShowPostSettings(post) { - this.postSettingVisible = true postApi.get(post.id).then(response => { this.selectedPost = response.data.data this.selectedTagIds = this.selectedPost.tagIds this.selectedCategoryIds = this.selectedPost.categoryIds + this.postSettingVisible = true }) }, // 关闭文章设置抽屉 diff --git a/src/views/post/components/PostSetting.vue b/src/views/post/components/PostSetting.vue index 5dcd676a..5ebe9108 100644 --- a/src/views/post/components/PostSetting.vue +++ b/src/views/post/components/PostSetting.vue @@ -8,169 +8,175 @@ destroyOnClose :visible="visiable" > -