From 05fd504802524a586320d029e9982862e01f17ed Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 11 Jun 2024 15:05:14 +0800 Subject: [PATCH] fix --- src/components/TestPanel.vue | 9 +- src/components/codemirror.vue | 330 +++++++++++++--------------------- src/config/index.js | 90 +++++----- 3 files changed, 178 insertions(+), 251 deletions(-) diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index 99ce329..ee6c3e9 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -635,9 +635,8 @@ export default { this.isSelected = true await this.getEntryTime() this.countVal = this.entryTime - this.getProDetail().then(() => { - this.getCache() - }).catch(res => { }) + await this.getProDetail() + this.getCache() this.setSubmit(false) this.grade = '00' this.pannelTab = 'first' @@ -1209,6 +1208,10 @@ export default { border-radius: 6px; } + .actions { + z-index: 1001; + } + .submit { width: 106px; font-size: 16px; diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index f8a5512..9eac53b 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -1,37 +1,18 @@