更新 'web/src/x.min.js'
This commit is contained in:
parent
4ebf88e9f0
commit
aa55dd42a1
9
web/src/x.min.js
vendored
9
web/src/x.min.js
vendored
@ -6696,12 +6696,15 @@ var X = window.X || {
|
|||||||
X.api('project/kanban',"post",{"_id":id},function (d){
|
X.api('project/kanban',"post",{"_id":id},function (d){
|
||||||
X.DATA['KanBanData'] = d.kanban;
|
X.DATA['KanBanData'] = d.kanban;
|
||||||
X.DATA['ProjectData'] = d.spaces;
|
X.DATA['ProjectData'] = d.spaces;
|
||||||
if(d.spaces.length > 0){
|
for(let i in d.spaces){
|
||||||
X.DATA.authority = d.spaces[0]['authority'];
|
if(d.spaces[i]['children'].length > 0){
|
||||||
if(d.spaces[0]['authority'] == "rw" && d.spaces[0]['children'][0]['user_id'] == X.DATA['userinfo']['userid']){
|
if(d.spaces[i]['authority'] == "rw" && d.spaces[i]['children'][i]['user_id'] == X.DATA['userinfo']['userid']){
|
||||||
$(".baobiao").show();
|
$(".baobiao").show();
|
||||||
|
continue;
|
||||||
}else{
|
}else{
|
||||||
$(".baobiao").hide();
|
$(".baobiao").hide();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user