src/views/article/components/userList.vue
@@ -158,6 +158,14 @@ } }, methods: { selectPersonList(personList) { console.log(personList, "++++++++++++") this.personList = personList let nameList = personList.map(e => { return e.name }) this.froms.userName = nameList.join(",") }, submit() { this.$emit("selectPersonList", this.idsList) this.showDialog = false @@ -254,4 +262,4 @@ } } } </style> </style>