fix: 修改缺陷预览样式

This commit is contained in:
shiziyuan9527 2020-08-25 15:42:20 +08:00
parent dfb0ed9d6d
commit 75ae9f6ce4
2 changed files with 7 additions and 2 deletions

View File

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

View File

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