forked from Gitlink/forgeplus-react
debug去除
This commit is contained in:
parent
cd109490c0
commit
97cd94ff7b
|
@ -92,7 +92,7 @@ const UserModel: UserModelType = {
|
|||
},
|
||||
*getUserInfo({ payload }, { call, put }) {
|
||||
// location.search,,debug:"admin"
|
||||
const response = yield call(getUserInfo, { ...payload,debug:"admin"})
|
||||
const response = yield call(getUserInfo, { ...payload})
|
||||
localStorage.userInfo = JSON.stringify(response);
|
||||
|
||||
yield put({
|
||||
|
|
|
@ -93,11 +93,11 @@ function Setmembers({ Membersshow,setClose,HeaderDetail, StaffDetail,setMembers,
|
|||
let gitlink_users:any=[];
|
||||
|
||||
Teams && Teams.map((item: any, index: any) => {
|
||||
// if (item.is_teacher) {
|
||||
// teacher_ids.push(item.id)
|
||||
// } else {
|
||||
// member_ids.push(item.id)
|
||||
// }
|
||||
if (item.is_teacher) {
|
||||
teacher_ids.push(item.id)
|
||||
} else {
|
||||
member_ids.push(item.id)
|
||||
}
|
||||
gitlink_users.push({
|
||||
login: item.login,
|
||||
lastname:item.lastname,
|
||||
|
|
Loading…
Reference in New Issue