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 @@