update frontend

This commit is contained in:
Himit_ZH 2022-01-17 18:26:10 +08:00
parent 9f80f4b1a0
commit c7af23949c
3 changed files with 14 additions and 9 deletions

View File

@ -1147,6 +1147,9 @@ export default {
color: #409eff;
cursor: pointer;
margin-right: 3px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.container .comment .reply .item .reply-content .reply-text {
margin-left: 5px;
@ -1154,10 +1157,14 @@ export default {
color: #333;
font-size: 14px;
font-weight: normal;
width: 32px;
}
.container .comment .reply .item .reply-content .to-name {
color: #409eff;
margin-right: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.container .comment .reply .item .reply-bottom {
display: flex;

View File

@ -1113,14 +1113,12 @@ export default {
this.$router.push(route);
},
onChangeLang(newLang) {
if (this.code.trim() != '') {
if (this.code == this.problemData.codeTemplate[this.language]) {
//
if (this.problemData.codeTemplate[newLang]) {
this.code = this.problemData.codeTemplate[newLang];
} else {
this.code = '';
}
if (this.code == this.problemData.codeTemplate[this.language]) {
//
if (this.problemData.codeTemplate[newLang]) {
this.code = this.problemData.codeTemplate[newLang];
} else {
this.code = '';
}
}
this.language = newLang;

View File

@ -103,7 +103,7 @@
<vxe-table-column
field="categoryName"
:title="$t('m.Category')"
min-width="100"
min-width="130"
align="center"
>
<template v-slot="{ row }">