[Fix & Update] Fix ts warning and navbar activity

update link in cfp root page
This commit is contained in:
mysper 2021-03-03 16:55:52 +08:00
parent d630fe7b4c
commit 77f45bd6cb
5 changed files with 9 additions and 8 deletions

View File

@ -55,7 +55,7 @@
</div>
</div>
<div class="cfp-news">
<a href="/2021/cfp/news" rel="noopener">
<a href="/2021/cfp/ocfp-news" rel="noopener">
<div class="btn-news-wrapper">
<img src="~@/assets/images/burnfont/btn-news.svg" id="svg-news" />
</div>

View File

@ -98,7 +98,9 @@ export default class CfpHeader extends Vue {
}
private async onTick (t: number) {
if (t<0) this.cfp = false;
if (t < 0) {
this.cfp = false;
}
this.countdown.s = t % 60;
t = Math.floor(t / 60);
this.countdown.m = t % 60;

View File

@ -98,7 +98,9 @@ export default class CfpHeader extends Vue {
}
private async onTick (t: number) {
if (t<0) this.cfp = false;
if (t < 0) {
this.cfp = false;
}
this.countdown.s = t % 60;
t = Math.floor(t / 60);
this.countdown.m = t % 60;

View File

@ -43,8 +43,6 @@ export default class Navbar extends Vue {
'#schedule',
'#example',
'#code-of-conduct',
'#info-section',
'#process',
'#methods',
'#review',
'#precautions',
@ -79,7 +77,6 @@ export default class Navbar extends Vue {
this.isNavbarFixed = false;
this.isNavbarReturning = true;
}
this.isNavbarAnimating = true;
}
}