update fe
This commit is contained in:
parent
e3c18922e7
commit
2a1988d353
|
@ -1291,6 +1291,8 @@ export default {
|
|||
// 原本是spj,但现在关闭了
|
||||
if (!this.spjRecord.spjCode) {
|
||||
problemDto['changeSpj'] = true;
|
||||
this.problem.spjCode = null;
|
||||
this.problem.spjLanguage = null;
|
||||
}
|
||||
}
|
||||
problemDto['problem'] = Object.assign({}, this.problem); // 深克隆
|
||||
|
|
|
@ -166,7 +166,12 @@
|
|||
</transition>
|
||||
</el-tab-pane>
|
||||
|
||||
<el-tab-pane name="ContestComment" lazy :disabled="contestMenuDisabled">
|
||||
<el-tab-pane
|
||||
name="ContestComment"
|
||||
lazy
|
||||
:disabled="contestMenuDisabled"
|
||||
v-if="contestEnded"
|
||||
>
|
||||
<span slot="label"
|
||||
><i class="fa fa-commenting" aria-hidden="true"></i> {{
|
||||
$t('m.Comment')
|
||||
|
@ -345,6 +350,9 @@ export default {
|
|||
return this.$markDown.render(this.contest.description);
|
||||
}
|
||||
},
|
||||
contestEnded() {
|
||||
return this.contestStatus === CONTEST_STATUS.ENDED;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
$route(newVal) {
|
||||
|
|
Loading…
Reference in New Issue