diff --git a/src/views/post/PostList.vue b/src/views/post/PostList.vue index e622e44c..7e8b4271 100644 --- a/src/views/post/PostList.vue +++ b/src/views/post/PostList.vue @@ -267,7 +267,7 @@ :saveDraftButton="false" :savePublishButton="false" :saveButton="true" - v-model="postSettingVisible" + :visible="postSettingVisible" @close="onPostSettingsClose" @onRefreshPost="onRefreshPostFromSetting" @onRefreshTagIds="onRefreshTagIdsFromSetting" diff --git a/src/views/post/components/PostSetting.vue b/src/views/post/components/PostSetting.vue index 2188f46a..b3fd24f6 100644 --- a/src/views/post/components/PostSetting.vue +++ b/src/views/post/components/PostSetting.vue @@ -212,10 +212,11 @@ export default { categoryToCreate: {} } }, - model: { - prop: 'visible', - event: 'close' - }, + // TODO delete this commented code + // model: { + // prop: 'visible', + // event: 'close' + // }, props: { post: { type: Object,