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"
:savePublishButton="false"
:saveButton="true"
v-model="postSettingVisible"
:visible="postSettingVisible"
@close="onPostSettingsClose"
@onRefreshPost="onRefreshPostFromSetting"
@onRefreshTagIds="onRefreshTagIdsFromSetting"

@ -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,

Loading…
Cancel
Save