|
|
|
@ -349,7 +349,7 @@ class Boards extends Component{
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
{ isAdmin && !parent_id && <WordsBtn style="blue" className="mr30" onClick={()=>this.addDir()}>添加目录</WordsBtn> }
|
|
|
|
|
{ isAdmin && !!parent_id && <WordsBtn style="blue" className="mr30" onClick={()=>this.renameDir()}>目录重命名</WordsBtn> }
|
|
|
|
|
{ isAdminOrStudent && <WordsBtn style="blue" className="" onClick={()=>this.onToBoardsNew()}>我要发布</WordsBtn> }
|
|
|
|
|
{ isAdminOrStudent && <WordsBtn style="blue" className="" onClick={()=>this.onToBoardsNew()}>我要发贴</WordsBtn> }
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
}
|
|
|
|
|
secondRowLeft={
|
|
|
|
|