From da58b17ca210b564a01f49e70f145d9acc6fbbfa Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Sun, 24 Apr 2022 15:39:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E7=99=BB?= =?UTF-8?q?=E5=BD=95-checkiflogin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 4 ++-- src/forge/Team/List.jsx | 1 + src/forge/Team/RightBox.jsx | 6 ++++-- src/forge/users/GeneralView/ConcentrateBox.jsx | 4 +++- src/forge/users/GeneralView/ConcentrateProject.jsx | 4 +++- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/App.js b/src/App.js index 94e2debff..7c126c595 100644 --- a/src/App.js +++ b/src/App.js @@ -395,14 +395,14 @@ class App extends Component { } }> - { return () } }> - + */} {/* 判断为用户/组织,并进入对应页面 */} { diff --git a/src/forge/Team/List.jsx b/src/forge/Team/List.jsx index 48a19c227..cad2fbef6 100644 --- a/src/forge/Team/List.jsx +++ b/src/forge/Team/List.jsx @@ -111,6 +111,7 @@ function List(props){ } { if(OIdentifier){ getMember(OIdentifier); @@ -91,6 +90,9 @@ function RightBox({ OIdentifier , history , admin , showCompeleteDialog ,complet bottom={ admin && history.push(`/${OIdentifier}/teams/new`)} diff --git a/src/forge/users/GeneralView/ConcentrateBox.jsx b/src/forge/users/GeneralView/ConcentrateBox.jsx index dacf5f840..ef135f613 100644 --- a/src/forge/users/GeneralView/ConcentrateBox.jsx +++ b/src/forge/users/GeneralView/ConcentrateBox.jsx @@ -5,7 +5,7 @@ import CheckProfile from '../../Component/ProfileModal/Profile'; const { Search } = Input; const limit = 20; -function ConcentrateBox({ visible , onCancel , onSure , username , choosed , history , showCompeleteDialog , completeProfile , current_user }) { +function ConcentrateBox({ visible , onCancel , onSure , username , choosed , history , showCompeleteDialog , completeProfile , current_user,checkIfLogin,showLoginDialog }) { const [ page , setPage ]= useState(1); const [ total , setTotal ]= useState(0); const [ pageSize , setPageSize ] = useState(false); @@ -173,6 +173,8 @@ function ConcentrateBox({ visible , onCancel , onSure , username , choosed , his (list && list.length === 0) && (copyList && copyList.length === 0) &&
您还没有公开的{search && `“${search}”`}项目,先去 { list && list.length>0 &&