diff --git a/src/views/modules/communityParty/stas/index.vue b/src/views/modules/communityParty/stas/index.vue index 6f2cf1861..827dd7494 100644 --- a/src/views/modules/communityParty/stas/index.vue +++ b/src/views/modules/communityParty/stas/index.vue @@ -196,14 +196,14 @@ export default { } if (this.form.joinOrgId === '' || this.form.joinOrgId === null || this.form.joinOrgId === undefined){ - console.log(this.orgList) let a = this.orgList[0] this.form.joinOrgId = a.id; this.joinOrgIds = this.form.joinOrgId }else { - this.form.joinOrgId = this.joinOrgIds[this.joinOrgIds.length - 1]; + if (Array.isArray(this.joinOrgIds)){ + this.form.joinOrgId = this.joinOrgIds[this.joinOrgIds.length - 1]; + } } - console.log('start') const url = "/resi/partymember/icPartyAct/patryactstatis" // const url = "http://yapi.elinkservice.cn/mock/245/resi/partymember/icPartyAct/patryactstatis" let params = {