fix(测试跟踪): 测试计划功能用例列表缺陷预览中无法显示图片
--bug=1014203 --user=陈建星 【测试跟踪】测试计划关联的功能用例,缺陷中含图片 没有显示 https://www.tapd.cn/55049933/s/1184973
This commit is contained in:
parent
15ecae4435
commit
2a31b8da73
|
@ -142,7 +142,6 @@
|
|||
|
||||
<script>
|
||||
import TestPlanTestCaseStatusButton from '../../../common/TestPlanTestCaseStatusButton';
|
||||
import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
|
||||
import ApiTestDetail from "../test/ApiTestDetail";
|
||||
import ApiTestResult from "../test/ApiTestResult";
|
||||
import PerformanceTestDetail from "../test/PerformanceTestDetail";
|
||||
|
@ -191,10 +190,6 @@ export default {
|
|||
showDialog: false,
|
||||
testCase: {},
|
||||
index: 0,
|
||||
editor: ClassicEditor,
|
||||
editorConfig: {
|
||||
toolbar: ['heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'insertTable', '|', 'undo', 'redo'],
|
||||
},
|
||||
readConfig: {toolbar: []},
|
||||
test: {},
|
||||
activeTab: 'detail',
|
||||
|
|
|
@ -4,12 +4,14 @@
|
|||
<ms-table-column prop="description" :label="$t('test_track.issue.description')">
|
||||
<template v-slot:default="scope">
|
||||
<el-popover
|
||||
placement="left"
|
||||
width="400"
|
||||
placement="right"
|
||||
width="500"
|
||||
trigger="hover"
|
||||
>
|
||||
<ckeditor :editor="editor" disabled :config="editorConfig"
|
||||
v-model="scope.row.description"/>
|
||||
popper-class="issues-popover">
|
||||
<ms-mark-down-text
|
||||
prop="description"
|
||||
:data="scope.row"
|
||||
:disabled="true"/>
|
||||
<el-button slot="reference" type="text">{{ $t('test_track.issue.preview') }}</el-button>
|
||||
</el-popover>
|
||||
</template>
|
||||
|
@ -21,23 +23,14 @@
|
|||
<script>
|
||||
|
||||
import MsTableColumn from "@/business/components/common/components/table/MsTableColumn";
|
||||
import ClassicEditor from "@ckeditor/ckeditor5-build-classic";
|
||||
import MsMarkDownText from "@/business/components/track/case/components/MsMarkDownText";
|
||||
|
||||
export default {
|
||||
name: "TestPlanCaseIssueItem",
|
||||
components: {MsTableColumn},
|
||||
components: {MsMarkDownText, MsTableColumn},
|
||||
props: {
|
||||
data: Object
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
visible: true,
|
||||
editor: ClassicEditor,
|
||||
editorConfig: {
|
||||
toolbar: [],
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue