no message
Former-commit-id: d4343037d7ebeda47955c74ab71329e9c3bd4acd Former-commit-id: 79d1079b8e799ec1e7443ff27fbb93f76e5fb99b Former-commit-id: 7ecb5f3c781cd79cef4e763afa2980b193bf8d97
This commit is contained in:
@@ -6,10 +6,30 @@
|
||||
title="基本示例"
|
||||
url="https://github.com/sparksuite/simplemde-markdown-editor">
|
||||
</PageHeader>
|
||||
<SimpleMDE style="margin-bottom: -16px;"></SimpleMDE>
|
||||
<SimpleMDE
|
||||
v-model="text"
|
||||
class="mde">
|
||||
</SimpleMDE>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<template slot="header">输出</template>
|
||||
<pre>{{text}}</pre>
|
||||
</el-card>
|
||||
</Container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
text: ''
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.mde {
|
||||
margin-bottom: -16px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user