312
This commit is contained in:
parent
7a3a519e90
commit
9a77eaa5da
|
@ -51,7 +51,6 @@ function Operation2() {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
console.log('第二个');
|
console.log('第二个');
|
||||||
Train1()
|
Train1()
|
||||||
|
@ -76,7 +75,6 @@ function Operation2() {
|
||||||
localStorage.setItem('time',countdown-1)
|
localStorage.setItem('time',countdown-1)
|
||||||
} else {
|
} else {
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
alert('考试时间到!');
|
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
return () => clearInterval(interval);
|
return () => clearInterval(interval);
|
||||||
|
@ -201,7 +199,7 @@ function Operation2() {
|
||||||
{/* 达梦数据库连接 ⬇*/}
|
{/* 达梦数据库连接 ⬇*/}
|
||||||
{ isTrue&&TrainData&&
|
{ isTrue&&TrainData&&
|
||||||
<div>
|
<div>
|
||||||
<p style={{fontSize:'26px'}}>题目:{TrainData['operateID'][3][0]}<span style={{fontSize:'20px'}}>(sudu密码:123456)</span></p>
|
<p style={{fontSize:'26px'}}>题目:{TrainData['operateID'][3][0]}<span style={{fontSize:'20px'}}>(sudo密码:123456)</span></p>
|
||||||
{Src&&<Test ip={Src[6]}/>}
|
{Src&&<Test ip={Src[6]}/>}
|
||||||
<div className='detection'><button onClick={detection}>检测</button></div>
|
<div className='detection'><button onClick={detection}>检测</button></div>
|
||||||
</div>}
|
</div>}
|
||||||
|
|
Loading…
Reference in New Issue