diff --git a/src/views/attachment/components/AttachmentSelectDrawer.vue b/src/views/attachment/components/AttachmentSelectDrawer.vue
index 1223dae2..cbc96d5a 100644
--- a/src/views/attachment/components/AttachmentSelectDrawer.vue
+++ b/src/views/attachment/components/AttachmentSelectDrawer.vue
@@ -2,7 +2,7 @@
保存草稿
{{ publishText }}
@@ -258,6 +258,7 @@ export default {
},
selectPostThumb(data) {
this.postToStage.thumbnail = data.path
+ this.childDrawerVisible = false
}
}
}
diff --git a/src/views/user/Profile.vue b/src/views/user/Profile.vue
index ebe2e7e0..32130116 100644
--- a/src/views/user/Profile.vue
+++ b/src/views/user/Profile.vue
@@ -169,6 +169,7 @@ export default {
},
selectAvatar(data) {
this.user.avatar = data.path
+ this.attachmentDrawerVisible = false
}
}
}