Commit 2366ec86 authored by Zhang Xiaojie's avatar Zhang Xiaojie

fix

parent 6d142550
...@@ -30,7 +30,8 @@ export default Vue.extend({ ...@@ -30,7 +30,8 @@ export default Vue.extend({
}, },
watch:{ watch:{
text(newV,oldV){ text(newV,oldV){
this.editor.commands.insertContent(newV) this.editor.commands.setContent(newV)
this.$emit("update:editorContent", newV);
} }
}, },
data() { data() {
......
...@@ -67,6 +67,8 @@ export default Vue.extend({ ...@@ -67,6 +67,8 @@ export default Vue.extend({
); );
this.form.title = items.title; this.form.title = items.title;
this.form.editableContent = items.content; this.form.editableContent = items.content;
console.log(items.content);
this.form.file_hash = items.file_name; this.form.file_hash = items.file_name;
this.uuid = items.uuid; this.uuid = items.uuid;
if (this.form.file_hash) { if (this.form.file_hash) {
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</a-layout-content> </a-layout-content>
<a-layout-footer :style="{ textAlign: 'center' }"> <a-layout-footer :style="{ textAlign: 'center' }">
普惠金融 ©2021 Created by 33 普惠金融 ©2021 Created by 33
<div class=" bg-red-300">{{role}}</div> <!-- <div class=" bg-red-300">{{role}}</div> -->
</a-layout-footer> </a-layout-footer>
</a-layout> </a-layout>
</a-layout> </a-layout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment