This commit is contained in:
nopy 2024-06-26 23:43:36 +08:00
commit 231606adff
3 changed files with 4 additions and 4 deletions

View File

@ -103,7 +103,7 @@ function Operation2() {
{/* 左边导航 */} {/* 左边导航 */}
<p>题目</p> <p>题目</p>
<ul className='nav-left-ul2'> <ul className='nav-left-ul2'>
<Link to='/operation1/实训一:数据库的安装' style={{color:'#000',textDecoration:'none'}}> <Link to={`/operation1/${operateID}`} style={{color:'#000',textDecoration:'none'}}>
<li className='subject-dropdown2' onClick={() => setIsSubjectDropdownOpen(!isSubjectDropdownOpen)}> <li className='subject-dropdown2' onClick={() => setIsSubjectDropdownOpen(!isSubjectDropdownOpen)}>
主观题 主观题
{isSubjectDropdownOpen ? <span className='list-img2'><img src={bottom} alt="" width='20px' height='20px'/></span> : <span><img src={top} alt="" width='20px' height='20px'/></span>} {isSubjectDropdownOpen ? <span className='list-img2'><img src={bottom} alt="" width='20px' height='20px'/></span> : <span><img src={top} alt="" width='20px' height='20px'/></span>}
@ -128,7 +128,7 @@ function Operation2() {
<p>上一页</p> <p>上一页</p>
<img src={arrowleft} alt="" width='40px' height='40px' /> <img src={arrowleft} alt="" width='40px' height='40px' />
</Link> </Link>
<Link className='btn-out2' to='/train' style={{color:'#000',textDecoration:'none'}}> <Link className='btn-out2' style={{color:'#000',textDecoration:'none'}}>
<img src={arrowright} alt="" width='40px' height='40px' /> <img src={arrowright} alt="" width='40px' height='40px' />
<p>完成</p> <p>完成</p>
</Link> </Link>

View File

@ -27,7 +27,8 @@ import Marking from '../TeacherPages/MarkingPages/Marking';
import SendTrain from '../TeacherPages/TrainManage/SendTrain'; import SendTrain from '../TeacherPages/TrainManage/SendTrain';
import TrainManage from '../TeacherPages/TrainManage/Trainmanage'; import TrainManage from '../TeacherPages/TrainManage/Trainmanage';
import StudentLink from '../TeacherPages/MarkingPages/StudentLink'; import StudentLink from '../TeacherPages/MarkingPages/StudentLink';
import List_pods from '../TeacherPages/list_pods/list_pods' import List_pods from '../TeacherPages/list_pods/list_pods';
// (exam)使 // (exam)使
const MainLayout = ({ headerNav:HeaderNav }) => { const MainLayout = ({ headerNav:HeaderNav }) => {

View File

@ -65,7 +65,6 @@ def register_func(usernames, ID, password, Class, gender):
db.commit() db.commit()
register_cursor.close() register_cursor.close()
print('注册成功')
return '注册成功' return '注册成功'