diff --git a/src/views/sheet/SheetEdit.vue b/src/views/sheet/SheetEdit.vue index 1c071be74..bfac2da97 100644 --- a/src/views/sheet/SheetEdit.vue +++ b/src/views/sheet/SheetEdit.vue @@ -27,7 +27,7 @@ -
- - Post cover thumbnail - - -
+ + Sheet cover thumbnail + +
@@ -113,7 +112,6 @@ ({}) }, @@ -229,13 +228,13 @@ export default { watch: { modalVisible(value) { if (value) { - this.form.model = Object.assign({}, this.post) + this.form.model = Object.assign({}, this.sheet) if (!this.form.model.slug && !this.form.model.id) { this.handleGenerateSlug() } } }, - post: { + sheet: { deep: true, handler(value) { this.form.model = Object.assign({}, value) @@ -247,7 +246,7 @@ export default { }, methods: { /** - * Creates or updates a post + * Creates or updates a sheet */ async handleCreateOrUpdate(preStatus = 'PUBLISHED') { if (!this.form.model.title) {