no message

Former-commit-id: f0207a1b3d4a0b29e414db4e6b7162631f0521ca
Former-commit-id: 6c35c139c51e3077b285c7b2e7c64c197d5165f4
Former-commit-id: 082fdb8222ff834150dee83fbf18d2a3b5369003
This commit is contained in:
liyang
2018-06-08 23:52:13 +08:00
parent 40275cdfee
commit f6020167ad
14 changed files with 109 additions and 75 deletions

View File

@@ -0,0 +1,36 @@
<template>
<Container type="ghost">
<el-card class="dd-mb">
<PageHeader
slot="header"
title="基本示例"
url="https://github.com/sparksuite/simplemde-markdown-editor">
</PageHeader>
<SimpleMDE
v-model="text"
class="mde">
</SimpleMDE>
</el-card>
<el-card>
<template slot="header">输出</template>
<pre>{{text}}</pre>
</el-card>
</Container>
</template>
<script>
import text from './text'
export default {
data () {
return {
text
}
}
}
</script>
<style lang="scss" scoped>
.mde {
margin-bottom: -16px;
}
</style>

View File

@@ -0,0 +1,10 @@
export default `# 标题
- 列表
- 列表
\`\`\`
alert('Hello')
\`\`\`
[D2Admin in github](https://github.com/FairyEver/d2admin-vue-element)`