From 30810691be839c4b4933ecde1b772e702f9c65eb Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Mon, 29 Aug 2022 16:51:03 +0800 Subject: [PATCH] emm --- src/views/modules/communityParty/stas/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 = {