This commit is contained in:
chenjianxing 2020-08-25 15:44:26 +08:00
commit b055fac758
2 changed files with 7 additions and 2 deletions

View File

@ -228,7 +228,7 @@
width="400"
trigger="hover"
>
<ckeditor :editor="editor" disabled
<ckeditor :editor="editor" disabled :config="readConfig"
v-model="scope.row.description"/>
<el-button slot="reference" type="text">{{$t('test_track.issue.preview')}}</el-button>
</el-popover>
@ -312,6 +312,7 @@
// 'increaseIndent','decreaseIndent'
toolbar: ['heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'insertTable', '|', 'undo', 'redo'],
},
readConfig: {toolbar: []},
test: {},
activeTab: 'detail',
isFailure: true,

View File

@ -121,7 +121,7 @@
width="400"
trigger="hover"
>
<ckeditor :editor="editor" disabled
<ckeditor :editor="editor" disabled :config="editorConfig"
v-model="scope.row.description"/>
<el-button slot="reference" type="text">{{$t('test_track.issue.preview')}}</el-button>
</el-popover>
@ -313,6 +313,10 @@
]
},
editor: ClassicEditor,
editorConfig: {
// 'increaseIndent','decreaseIndent'
toolbar: [],
},
}
},
props: {