|
@@ -330,7 +330,12 @@ it .ql-editor,
|
|
:options="editorOption"
|
|
:options="editorOption"
|
|
class="ql-editor"
|
|
class="ql-editor"
|
|
ref="quillEditor"
|
|
ref="quillEditor"
|
|
- @change="onEditorChange($event)"
|
|
|
|
|
|
+ @change="
|
|
|
|
+ onEditorChange(
|
|
|
|
+ $event,
|
|
|
|
+ `klScaleParent[${tableIndex}].klScaleSaveGroup[0].content`
|
|
|
|
+ )
|
|
|
|
+ "
|
|
></quillEditor>
|
|
></quillEditor>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</div>
|
|
</div>
|
|
@@ -575,10 +580,10 @@ export default {
|
|
}
|
|
}
|
|
);
|
|
);
|
|
},
|
|
},
|
|
- onEditorChange(e) {
|
|
|
|
|
|
+ onEditorChange(e, ref) {
|
|
e.quill.deleteText(1000, 4);
|
|
e.quill.deleteText(1000, 4);
|
|
console.log(e.quill.getLength());
|
|
console.log(e.quill.getLength());
|
|
- // e.quill.getLength()>1000
|
|
|
|
|
|
+ this.$refs.scaleFormRef.clearValidate(ref)
|
|
},
|
|
},
|
|
assessCommitTest() {
|
|
assessCommitTest() {
|
|
console.dir(this.formtParams());
|
|
console.dir(this.formtParams());
|