    )

                    if (res.code !== 200) {
                        return this.$message.error('查询权限信息失败！')
                    }

                    this.addOrEditForm = res.data

                    console.log("groupTree" + this.groupTree)
                    const parents = getTreeParents(this.groupTree, id)
                    console.log("parents的值：" + parents)
                    this.selectedKeys = parents.map(p => p.id)
                    this.selectedKeys.unshift(0