From d31f6178c05a5c69725cf41e34c53a17343f6c64 Mon Sep 17 00:00:00 2001 From: chaorenluo <1243357953@qq.com> Date: Mon, 1 Jul 2024 14:24:32 +0800 Subject: [PATCH] =?UTF-8?q?=20fix:=E4=BF=AE=E5=A4=8D=E8=AF=AF=E4=B8=8A?= =?UTF-8?q?=E6=8A=A5=E7=A9=BA=E9=97=B4id=E5=92=8C=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E9=97=AE=E9=A2=98=20(#320)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * --story=1059873 --user=T8罗佳明 【ALL】2024年06月日常优化 https://www.tapd.cn/23402991/s/2202857 * feat:答卷白名单功能 * fix:修复lint问题 * fix:提交问卷时添加verifyId参数 * fix:去掉上报空间id * fix:line代码 --- web/src/materials/setters/widgets/teamMemberList.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/src/materials/setters/widgets/teamMemberList.vue b/web/src/materials/setters/widgets/teamMemberList.vue index 864e42f3..4086b499 100644 --- a/web/src/materials/setters/widgets/teamMemberList.vue +++ b/web/src/materials/setters/widgets/teamMemberList.vue @@ -29,7 +29,7 @@ const defaultProps = { const handleChange = () => { const key = props.formConfig.key; - const userKeys = treeRef.value?.getCheckedKeys(false); + const userKeys = treeRef.value?.getCheckedKeys(true); emit(FORM_CHANGE_EVENT_KEY, { key: key, value: userKeys }); } @@ -43,9 +43,13 @@ const selectCount = computed(() => { return treeRef.value?.getCheckedKeys(true).length || 0 }) +const spaceMenus = computed(() => { + return store.state.list.spaceMenus +}) + const getSpaceMenus = async () => { await store.dispatch('list/getSpaceList') - store.state?.list?.spaceMenus.map((v) => { + spaceMenus.value.map((v) => { if (v.id == "group") { const promiseList = [] v.children?.map((item) => {