This commit is contained in:
2024-01-15 11:10:42 +08:00
parent c439aee354
commit 592ba530a0
3 changed files with 20 additions and 14 deletions

View File

@@ -48,7 +48,8 @@ export default {
queryParams: {
groupCode: this.$route.params.groupCode,
phoneNumber: null
}
},
groupCode: this.$route.params.groupCode
};
},
@@ -69,7 +70,11 @@ export default {
this.queryParams.phoneNumber = ''
return false;
}
addMemberGroup(this.phoneNumber).then(response => {
const param = {
"phoneNumber": this.phoneNumber,
"groupCode": this.groupCode
};
addMemberGroup(param).then(response => {
console.log(response);
this.$modal.msgSuccess("添加成功");
this.queryParams.openAddMember = true;
@@ -83,4 +88,4 @@ export default {
};
</script>
<style lang="scss" scoped></style>
<style lang="scss" scoped></style>