diff --git a/src/views/modules/news/news-publish.vue b/src/views/modules/news/news-publish.vue index 85fbc5f0..88271bcf 100644 --- a/src/views/modules/news/news-publish.vue +++ b/src/views/modules/news/news-publish.vue @@ -321,8 +321,21 @@ export default { type: 'success', duration: 500, onClose: () => { + this.dataForm.id = '' + this.dataForm.streetId = '' + this.dataForm.communityId = null + this.dataForm.gridId = null + this.dataForm.newsCateroryId = '' + this.dataForm.newsTitle = '' + this.dataForm.newsReleaseStartTime = '' + this.dataForm.newsReleaseEndTime = '' + this.dataForm.newsContent = '' + this.dataForm.newsImageUrl = '' + this.dataForm.street = '' + this.dataForm.community = null + this.dataForm.grid = null + this.dataForm.newsProperty = '' this.visible = false - this.dataForm = {} this.time = [] this.quillEditor.root.innerHTML = '' this.dataForm.communityId = this.dataForm.streetId = this.dataForm.gridId = null