✨ feat: 样式调整
This commit is contained in:
@@ -28,6 +28,12 @@ export default {
|
||||
value: this.value,
|
||||
height: 360,
|
||||
cache: { enable: false },
|
||||
theme: 'dark',
|
||||
preview: {
|
||||
theme: {
|
||||
current: 'dark'
|
||||
}
|
||||
},
|
||||
after: () => {
|
||||
this.vditor.setValue(this.value || '')
|
||||
},
|
||||
@@ -66,6 +72,7 @@ export default {
|
||||
<style scoped>
|
||||
#vditor {
|
||||
border: 1px solid #e4e7ed;
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user