From f858f467b21860457518e1b240bc6266434dc90c Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 22 Aug 2024 15:03:40 +0800 Subject: [PATCH] fix --- src/components/breadcrumb/index.vue | 2 +- src/components/ueditorPlus/index.vue | 2 +- src/pages/knowledge/index.vue | 28 +- src/pages/ques/detail/index.vue | 465 ++++++++++++------------ src/pages/ques/list/index.vue | 49 +-- src/pages/quesBank/index.vue | 2 +- src/pages/quesBankType/index.vue | 2 +- src/pages/testPaper/detail/auto.vue | 221 +++++------ src/pages/testPaper/detail/index.vue | 58 ++- src/pages/testPaper/detail/manual.vue | 4 - src/pages/testPaper/detail/template.vue | 17 +- src/pages/testPaper/list/index.vue | 10 +- src/pages/testPaperLibrary/index.vue | 6 +- src/router/modules/ques.js | 5 + 14 files changed, 455 insertions(+), 416 deletions(-) diff --git a/src/components/breadcrumb/index.vue b/src/components/breadcrumb/index.vue index 585c0ad..500987a 100644 --- a/src/components/breadcrumb/index.vue +++ b/src/components/breadcrumb/index.vue @@ -42,7 +42,7 @@ export default { .el-breadcrumb__inner, .el-breadcrumb__separator { font-weight: 400; - color: #333; + color: $main-color; } &:last-child:not(:first-child) { diff --git a/src/components/ueditorPlus/index.vue b/src/components/ueditorPlus/index.vue index 7c5c887..597a8d7 100644 --- a/src/components/ueditorPlus/index.vue +++ b/src/components/ueditorPlus/index.vue @@ -69,7 +69,7 @@ export default { setText (con) { // eslint-disable-next-line no-undef this.instance = UE.getEditor(this.randomId) - this.instance.setContent(con) + this.instance && this.instance.setContent(con) } } } diff --git a/src/pages/knowledge/index.vue b/src/pages/knowledge/index.vue index a4549c6..62f56d9 100644 --- a/src/pages/knowledge/index.vue +++ b/src/pages/knowledge/index.vue @@ -1,7 +1,7 @@