diff --git a/web/src/x.min.js b/web/src/x.min.js index a927ace..678a8a5 100644 --- a/web/src/x.min.js +++ b/web/src/x.min.js @@ -6241,14 +6241,14 @@ var X = window.X || { //筛选 $(document).off('click','.tab-right-box .tjsx').on("click",".tab-right-box .tjsx",function(){ - X.open({ - type: 1, - title: false, - closeBtn: 0, - shadeClose: true, - skin: 'yourclass', - url: 'nodedetails' - }) + // X.open({ + // type: 1, + // title: false, + // closeBtn: 0, + // shadeClose: true, + // skin: 'yourclass', + // url: 'nodedetails' + // }) // layer.msg('该功能暂未开放'); // return; // X.open({ @@ -6841,7 +6841,7 @@ var X = window.X || { // for(let i in d.spaces){ if(d.spaces[0]['children'].length > 0){ - if(d.spaces[0]['authority'] == "rw" && d.spaces[0]['children'][0]['user_id'] == X.DATA['userinfo']['userid']){ + if(d.spaces[0]['authority'] == "rw" || d.spaces[0]['children'][0]['user_id'] == X.DATA['userinfo']['userid']){ $(".baobiao").show(); // continue; }else{ diff --git a/web/srczip/logic/dashboard.js b/web/srczip/logic/dashboard.js index aada993..825ec67 100644 --- a/web/srczip/logic/dashboard.js +++ b/web/srczip/logic/dashboard.js @@ -194,14 +194,14 @@ //筛选 $(document).off('click','.tab-right-box .tjsx').on("click",".tab-right-box .tjsx",function(){ - X.open({ - type: 1, - title: false, - closeBtn: 0, - shadeClose: true, - skin: 'yourclass', - url: 'nodedetails' - }) + // X.open({ + // type: 1, + // title: false, + // closeBtn: 0, + // shadeClose: true, + // skin: 'yourclass', + // url: 'nodedetails' + // }) // layer.msg('该功能暂未开放'); // return; // X.open({ @@ -794,7 +794,7 @@ // for(let i in d.spaces){ if(d.spaces[0]['children'].length > 0){ - if(d.spaces[0]['authority'] == "rw" && d.spaces[0]['children'][0]['user_id'] == X.DATA['userinfo']['userid']){ + if(d.spaces[0]['authority'] == "rw" || d.spaces[0]['children'][0]['user_id'] == X.DATA['userinfo']['userid']){ $(".baobiao").show(); // continue; }else{