diff --git a/src/views/post/components/PostSetting.vue b/src/views/post/components/PostSetting.vue
index bc71cd3c..9e9758ab 100644
--- a/src/views/post/components/PostSetting.vue
+++ b/src/views/post/components/PostSetting.vue
@@ -31,10 +31,31 @@
+
+
+
+
+
+ v-else
+ >
+
+
+
+
@@ -218,6 +239,7 @@ export default {
thumbDrawerVisible: false,
categoryFormVisible: false,
settingLoading: true,
+ passwordVisible: false,
selectedPost: this.post,
selectedTagIds: this.tagIds,
selectedCategoryIds: this.categoryIds,
@@ -395,8 +417,12 @@ export default {
})
}
},
+ togglePasswordVisible() {
+ this.passwordVisible = !this.passwordVisible
+ },
onClose() {
this.$emit('close', false)
+ this.passwordVisible = false
},
onPostDateChange(value, dateString) {
this.selectedPost.createTime = value.valueOf()