diff --git a/src/views/modules/custom/voterregistration.vue b/src/views/modules/custom/voterregistration.vue index d025e46..7ccb69c 100644 --- a/src/views/modules/custom/voterregistration.vue +++ b/src/views/modules/custom/voterregistration.vue @@ -163,6 +163,8 @@ export default { }).catch(() => {}) }, getGroupList (code) { + this.groupList = [] + this.dataForm.groupCode = '' let pid = '' this.constituencyList.find((item) => { if (item.configCode === code) { @@ -170,7 +172,6 @@ export default { } }) if (pid === '') { - this.groupList = [] return } this.$http.get(`/custom/voterregistrationconfig/getConfigByType`, { params: { configType: '', pid: pid } }).then(({ data: res }) => {