mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
fix: 无法添加成员
This commit is contained in:
@@ -185,7 +185,7 @@ const state = reactive({
|
|||||||
addVisible: false,
|
addVisible: false,
|
||||||
memForm: {
|
memForm: {
|
||||||
accountIds: [] as any,
|
accountIds: [] as any,
|
||||||
teamId: 0,
|
teamId: 0 as any,
|
||||||
},
|
},
|
||||||
accounts: Array(),
|
accounts: Array(),
|
||||||
},
|
},
|
||||||
@@ -313,7 +313,7 @@ const showAddMemberDialog = () => {
|
|||||||
|
|
||||||
const addMember = async () => {
|
const addMember = async () => {
|
||||||
const memForm = state.showMemDialog.memForm;
|
const memForm = state.showMemDialog.memForm;
|
||||||
memForm.teamId = (state.selectionData[0] as any).id;
|
memForm.teamId = state.showMemDialog.query.teamId;
|
||||||
notBlank(memForm.accountIds, '请先选择账号');
|
notBlank(memForm.accountIds, '请先选择账号');
|
||||||
|
|
||||||
await tagApi.saveTeamMem.request(memForm);
|
await tagApi.saveTeamMem.request(memForm);
|
||||||
|
|||||||
Reference in New Issue
Block a user