fix preview
This commit is contained in:
parent
23b65d25ca
commit
da2fe5ce79
1 changed files with 5 additions and 2 deletions
|
|
@ -581,8 +581,11 @@ const PostStatusForm = {
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
isDirty(newVal, oldVal) {
|
newStatus: {
|
||||||
this.statusChanged()
|
deep: true,
|
||||||
|
handler() {
|
||||||
|
this.statusChanged()
|
||||||
|
},
|
||||||
},
|
},
|
||||||
saveable(val) {
|
saveable(val) {
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event#usage_notes
|
// https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event#usage_notes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue