Merge pull request #114 from akira-cn/master

修改几个前端小bug
This commit is contained in:
LiYang 2022-01-29 09:03:58 +08:00 committed by GitHub
commit 785f70d97b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 12375 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
package-lock.json
# Logs
logs
*.log

12373
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -109,7 +109,7 @@
{
title: this.$i18n.t('m.ContestType'),
render: (h, params) => {
return h('span', this.$i18n.t('m.' + params.row.contest_type.replace(' ', '_')))
return h('span', this.$i18n.t('m.' + params.row.contest_type ? params.row.contest_type.replace(' ', '_') : ''))
}
},
{

View File

@ -291,7 +291,9 @@
})
problem.languages = problem.languages.sort()
this.problem = problem
this.changePie(problem)
if (problem.statistic_info) {
this.changePie(problem)
}
// beforeRouteEnter, codetemplate
if (this.code !== '') {