tanyanfei 4 år sedan
förälder
incheckning
45f99c2fc8
2 ändrade filer med 3 tillägg och 4 borttagningar
  1. 0 1
      src/components/fuEditor/index.vue
  2. 3 3
      src/views/message/modelForm.vue

+ 0 - 1
src/components/fuEditor/index.vue

@@ -41,7 +41,6 @@ export default {
       }
     },
     value: function(value) {
-      console.log(2333555)
       if (value !== this.editor.txt.html()) {
         this.editor.txt.html(value);
       }

+ 3 - 3
src/views/message/modelForm.vue

@@ -578,13 +578,13 @@ export default {
 
     },
     addNote(item){
-      this.curNote = item.note;
-      this.$refs.editor.html(this.curNote)
+      this.curItem = item;
+      this.curNote = item.note?item.note:'';
+      // this.$refs.editor.html(this.curNote)
       this.dialogTitle = "为"+'"'+item.label+'"添加批注信息'
       this.dialogVisible = true;
     },
     saveNote(item){
-      // this.curItem = item;
       this.curNote=this.$refs.editor.getEditor()
       item.note = this.curNote;
       this.dialogVisible = false;