fix type.
This commit is contained in:
@@ -74,7 +74,7 @@ function goSignup() {
|
|||||||
</el-button>
|
</el-button>
|
||||||
<el-button @click="goSignup">没有账号,立即注册</el-button>
|
<el-button @click="goSignup">没有账号,立即注册</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-alert v-if="msg" :title="msg" show-icon type="error" />
|
<el-alert v-if="msg" :title="msg" show-icon type="danger" />
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -15,11 +15,11 @@ export enum SubmissionStatus {
|
|||||||
export const JUDGE_STATUS = {
|
export const JUDGE_STATUS = {
|
||||||
"-2": {
|
"-2": {
|
||||||
name: "编译失败",
|
name: "编译失败",
|
||||||
type: "error",
|
type: "danger",
|
||||||
},
|
},
|
||||||
"-1": {
|
"-1": {
|
||||||
name: "答案错误",
|
name: "答案错误",
|
||||||
type: "error",
|
type: "danger",
|
||||||
},
|
},
|
||||||
"0": {
|
"0": {
|
||||||
name: "答案正确",
|
name: "答案正确",
|
||||||
@@ -27,23 +27,23 @@ export const JUDGE_STATUS = {
|
|||||||
},
|
},
|
||||||
"1": {
|
"1": {
|
||||||
name: "运行超时",
|
name: "运行超时",
|
||||||
type: "error",
|
type: "danger",
|
||||||
},
|
},
|
||||||
"2": {
|
"2": {
|
||||||
name: "运行超时",
|
name: "运行超时",
|
||||||
type: "error",
|
type: "danger",
|
||||||
},
|
},
|
||||||
"3": {
|
"3": {
|
||||||
name: "内存超限",
|
name: "内存超限",
|
||||||
type: "error",
|
type: "danger",
|
||||||
},
|
},
|
||||||
"4": {
|
"4": {
|
||||||
name: "运行时错误",
|
name: "运行时错误",
|
||||||
type: "error",
|
type: "danger",
|
||||||
},
|
},
|
||||||
"5": {
|
"5": {
|
||||||
name: "系统错误",
|
name: "系统错误",
|
||||||
type: "error",
|
type: "danger",
|
||||||
},
|
},
|
||||||
"6": {
|
"6": {
|
||||||
name: "等待评分",
|
name: "等待评分",
|
||||||
@@ -51,7 +51,7 @@ export const JUDGE_STATUS = {
|
|||||||
},
|
},
|
||||||
"7": {
|
"7": {
|
||||||
name: "正在评分",
|
name: "正在评分",
|
||||||
type: "info",
|
type: "warning",
|
||||||
},
|
},
|
||||||
"8": {
|
"8": {
|
||||||
name: "部分正确",
|
name: "部分正确",
|
||||||
|
|||||||
Reference in New Issue
Block a user