mirror of
https://github.com/QingdaoU/OnlineJudgeFE.git
synced 2024-12-27 15:01:52 +00:00
修复几个前端小bug
This commit is contained in:
parent
acce797b37
commit
0b7069cb75
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
package-lock.json
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
|
12373
package-lock.json
generated
12373
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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(' ', '_') : ''))
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -291,7 +291,9 @@
|
||||
})
|
||||
problem.languages = problem.languages.sort()
|
||||
this.problem = problem
|
||||
this.changePie(problem)
|
||||
if (problem.statistic_info) {
|
||||
this.changePie(problem)
|
||||
}
|
||||
|
||||
// 在beforeRouteEnter中修改了, 说明本地有code,无需加载template
|
||||
if (this.code !== '') {
|
||||
|
Loading…
Reference in New Issue
Block a user