|
@@ -36,7 +36,23 @@ export default {
|
|
remarksTexts: '', //展示的备注
|
|
remarksTexts: '', //展示的备注
|
|
editorOption: {
|
|
editorOption: {
|
|
modules: {
|
|
modules: {
|
|
- toolbar: [['bold', 'underline'], [{ color: [] }]]
|
|
|
|
|
|
+ toolbar: [['bold', 'underline'], [{ color: [] }], [{ list: 'ordered' }]]
|
|
|
|
+ // toolbar: [
|
|
|
|
+ // ['bold', 'italic', 'underline', 'strike'],
|
|
|
|
+ // ['blockquote', 'code-block'],
|
|
|
|
+ // [{ header: 1 }, { header: 2 }],
|
|
|
|
+ // [{ list: 'ordered' }, { list: 'bullet' }],
|
|
|
|
+ // [{ script: 'sub' }, { script: 'super' }],
|
|
|
|
+ // [{ indent: '-1' }, { indent: '+1' }],
|
|
|
|
+ // [{ direction: 'rtl' }],
|
|
|
|
+ // [{ size: ['small', false, 'large', 'huge'] }],
|
|
|
|
+ // [{ header: [1, 2, 3, 4, 5, 6, false] }],
|
|
|
|
+ // [{ font: [] }],
|
|
|
|
+ // [{ color: [] }, { background: [] }],
|
|
|
|
+ // [{ align: [] }],
|
|
|
|
+ // ['clean'],
|
|
|
|
+ // ['link', 'image', 'video']
|
|
|
|
+ // ]
|
|
},
|
|
},
|
|
theme: 'snow',
|
|
theme: 'snow',
|
|
placeholder: '请输入内容...'
|
|
placeholder: '请输入内容...'
|
|
@@ -107,6 +123,7 @@ export default {
|
|
onEditorBlur(val) {},
|
|
onEditorBlur(val) {},
|
|
onEditorFocus(val) {},
|
|
onEditorFocus(val) {},
|
|
onEditorChange(val) {
|
|
onEditorChange(val) {
|
|
|
|
+ console.log(val, 'val')
|
|
val.quill.deleteText(200, 6)
|
|
val.quill.deleteText(200, 6)
|
|
if (this.remarksTexts === '') {
|
|
if (this.remarksTexts === '') {
|
|
this.valLen = 0
|
|
this.valLen = 0
|