From 89740c7d7914ddd7b88a94c9645cfc7617865151 Mon Sep 17 00:00:00 2001 From: lbaf23 <2282480289@qq.com> Date: Sat, 7 Aug 2021 20:30:05 +0800 Subject: [PATCH] fix: call back --- web/src/pages/Project/MyProject/index.jsx | 78 ++++++++++--------- web/src/pages/User/Auth/AuthCallback.jsx | 2 +- .../pages/component/Layout/HeaderLayout.jsx | 2 +- 3 files changed, 42 insertions(+), 40 deletions(-) diff --git a/web/src/pages/Project/MyProject/index.jsx b/web/src/pages/Project/MyProject/index.jsx index 1f60663..4b0f494 100644 --- a/web/src/pages/Project/MyProject/index.jsx +++ b/web/src/pages/Project/MyProject/index.jsx @@ -39,44 +39,46 @@ class MyProject extends React.PureComponent { theme="light" style={{backgroundColor: '#f2f4f5'}} > -
+ {type === 'teacher' ? + + : + + } {type === 'teacher' ?