xjc 4 年之前
父节点
当前提交
496cd008b6
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/message/modelForm.vue

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

@@ -578,13 +578,15 @@ export default {
 
     },
     addNote(item){
-      this.curNote = "";
+      this.curNote = 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;
     },
     handlePreview(){