This commit is contained in:
faiz 2024-07-03 18:04:26 +08:00
parent ec65dba79d
commit b5f7b6f741
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@
this.editor = Object.seal(editor) // Object.seal()
},
handleInput(value) {
console.log(value)
// console.log(value)
this.$emit('input', value)
}
}

View File

@ -61,7 +61,7 @@
</div>
<div>内容</div>
<div style="border: 1px solid #ccc;">
<myEditor :value="item.content" />
<myEditor v-model="item.content" />
</div>
</div>
<div class="mistake-right">
@ -143,7 +143,7 @@
</div>
<div>内容</div>
<div style="border: 1px solid #ccc;">
<myEditor :value="item.content"/>
<myEditor v-model="item.content"/>
</div>
</div>
<div class="mistake-right">