no message

Former-commit-id: d4343037d7ebeda47955c74ab71329e9c3bd4acd
Former-commit-id: 79d1079b8e799ec1e7443ff27fbb93f76e5fb99b
Former-commit-id: 7ecb5f3c781cd79cef4e763afa2980b193bf8d97
This commit is contained in:
李杨
2018-02-23 19:25:13 +08:00
parent 61a03540a9
commit 6fe2949ef2
2 changed files with 24 additions and 1 deletions

View File

@@ -53,6 +53,9 @@ export default {
// 挂载元素
element: this.$refs.mde
})
this.mde.codemirror.on('change', () => {
this.$emit('input', this.mde.value())
})
}
}
}