PostList replaces the original model property of PostSetting with the value of the visible binding property

pull/40/head
guqing 5 years ago
parent 5350704282
commit 6d51f45d60

@ -267,7 +267,7 @@
:saveDraftButton="false" :saveDraftButton="false"
:savePublishButton="false" :savePublishButton="false"
:saveButton="true" :saveButton="true"
v-model="postSettingVisible" :visible="postSettingVisible"
@close="onPostSettingsClose" @close="onPostSettingsClose"
@onRefreshPost="onRefreshPostFromSetting" @onRefreshPost="onRefreshPostFromSetting"
@onRefreshTagIds="onRefreshTagIdsFromSetting" @onRefreshTagIds="onRefreshTagIdsFromSetting"

@ -212,10 +212,11 @@ export default {
categoryToCreate: {} categoryToCreate: {}
} }
}, },
model: { // TODO delete this commented code
prop: 'visible', // model: {
event: 'close' // prop: 'visible',
}, // event: 'close'
// },
props: { props: {
post: { post: {
type: Object, type: Object,

Loading…
Cancel
Save