mirror of https://github.com/halo-dev/halo-admin
PostList replaces the original model property of PostSetting with the value of the visible binding property
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…
Reference in New Issue