Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Sep 25, 2019
1 parent 4711c7d commit 7d654e8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/components/jsCom/002.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@
},
data() {
const code =
return {
// 1
code:
`import someResource from 'codemirror/some-resource'
export default {
data () {
Expand All @@ -131,11 +133,7 @@
}
},
components: examples
}`
return {
// 1
code,
}`,
cmOption: {
tabSize: 4,
styleActiveLine: true,
Expand Down

0 comments on commit 7d654e8

Please sign in to comment.