From 99484a86def8948abfdfcd815fe0adbe0b51d7f4 Mon Sep 17 00:00:00 2001 From: qushutong <1976590620@qq.com> Date: Sat, 21 Sep 2019 14:41:03 +0800 Subject: [PATCH] bug --- src/views/modules/news/news-publish.vue | 2 ++ src/views/modules/sys/dept-add-or-update.vue | 4 ++++ 2 files changed, 6 insertions(+) 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()