diff --git a/src/components/userChange.vue b/src/components/userChange.vue index 97ae09ff..2253e490 100644 --- a/src/components/userChange.vue +++ b/src/components/userChange.vue @@ -213,6 +213,7 @@ export default { return item.sn == this.$store.state.selectedGroupSn; }); if (findItem) { + this.$store.commit("setSelectedGroupSn", findItem.sn); // 存储选中的组织Sn this.selectedGroupData = [findItem] this.filterTreeData(this.selectedGroupData); this.$nextTick(() => {