diff --git a/src/views/modules/news/news-publish.vue b/src/views/modules/news/news-publish.vue index c2981f1f..85fbc5f0 100644 --- a/src/views/modules/news/news-publish.vue +++ b/src/views/modules/news/news-publish.vue @@ -325,6 +325,8 @@ export default { this.dataForm = {} this.time = [] this.quillEditor.root.innerHTML = '' + this.dataForm.communityId = this.dataForm.streetId = this.dataForm.gridId = null + this.communityList = this.gridList = [] } }) }).catch(() => { }) diff --git a/src/views/modules/sys/dept-add-or-update.vue b/src/views/modules/sys/dept-add-or-update.vue index 0b52867c..af0d5799 100644 --- a/src/views/modules/sys/dept-add-or-update.vue +++ b/src/views/modules/sys/dept-add-or-update.vue @@ -117,6 +117,10 @@ export default { } else if (this.$store.state.user.superAdmin === 1) { this.deptListTreeSetDefaultHandle() } + if (this.dataForm.id) { + } else { + this.dataForm.partyCode = '' + } }) }) this.getSecondOrgDicList()