fix(测试跟踪): 报告分享页面缺陷描述预览不生效问题修复

--bug=1009252 --user=周骏弘 [ github#8856]报告分享页面缺陷描述预览不生效 https://www.tapd.cn/55049933/s/1093381
This commit is contained in:
junhong 2022-01-18 20:46:41 +08:00 committed by fit2-zhao
parent fa6117e276
commit 8845415311
2 changed files with 5 additions and 3 deletions

View File

@ -10,8 +10,7 @@
placement="right" placement="right"
width="500" width="500"
trigger="hover" trigger="hover"
popper-class="issues-popover" popper-class="issues-popover">
>
<ms-mark-down-text prop="description" :data="scope.row" :disabled="true"/> <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-button slot="reference" type="text">{{ $t('test_track.issue.preview') }}</el-button>
</el-popover> </el-popover>

View File

@ -1,5 +1,5 @@
import Vue from 'vue'; import Vue from 'vue';
import ElementUI, {Button, Col, Form, FormItem, Input, Row, Main, Card, Table, TableColumn} from 'element-ui'; import ElementUI, {Button, Col, Form, FormItem, Input, Row, Main, Card, Table, TableColumn, Popover} from 'element-ui';
import '@/assets/theme/index.css'; import '@/assets/theme/index.css';
import '@/common/css/menu-header.css'; import '@/common/css/menu-header.css';
import '@/common/css/main.css'; import '@/common/css/main.css';
@ -8,6 +8,7 @@ import chart from "@/common/js/chart";
import filters from "@/common/js/filter"; import filters from "@/common/js/filter";
import icon from "@/common/js/icon"; import icon from "@/common/js/icon";
import message from "@/common/js/message"; import message from "@/common/js/message";
import mavonEditor from "mavon-editor";
// import CKEditor from '@ckeditor/ckeditor5-vue'; // import CKEditor from '@ckeditor/ckeditor5-vue';
@ -31,6 +32,8 @@ function planReportUse(id, template) {
Vue.use(icon); Vue.use(icon);
Vue.use(message); Vue.use(message);
// Vue.use(CKEditor); // Vue.use(CKEditor);
Vue.use(mavonEditor);
Vue.use(Popover);
new Vue({ new Vue({
el: id, el: id,