$('.webSSHTimer').html(moment(this.timeRemain).format('mm:ss'))

openi_sso
hjm 6 years ago
parent c3ed1bbf14
commit 0852ecfb40

@ -76,6 +76,7 @@ class WebSSHTimer extends Component {
if (this.startTimeRemain === 0) {
// 重置主倒计时时长20分钟
this.timeRemain = 20 * 60 * 1000;
$('.webSSHTimer').html(moment(this.timeRemain).format('mm:ss'))
this.forceUpdate()
}
return;

Loading…
Cancel
Save