diff --git a/src/components/codemirror.vue b/src/components/codemirror.vue index cf71a37..9b29078 100644 --- a/src/components/codemirror.vue +++ b/src/components/codemirror.vue @@ -6,7 +6,7 @@ :options="cmOption" class="code-mirror" @ready="ready" - ref="myCmGenerate" + ref="codemirror" >