From 884541531107fbc54642f3e40f79009693b9a91a Mon Sep 17 00:00:00 2001 From: junhong Date: Tue, 18 Jan 2022 20:46:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E5=88=86=E4=BA=AB=E9=A1=B5=E9=9D=A2=E7=BC=BA?= =?UTF-8?q?=E9=99=B7=E6=8F=8F=E8=BF=B0=E9=A2=84=E8=A7=88=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1009252 --user=周骏弘 [ github#8856]报告分享页面缺陷描述预览不生效 https://www.tapd.cn/55049933/s/1093381 --- .../components/track/issue/IssueDescriptionTableItem.vue | 3 +-- frontend/src/template/report/plan/planReportUse.js | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/track/issue/IssueDescriptionTableItem.vue b/frontend/src/business/components/track/issue/IssueDescriptionTableItem.vue index b25480d718..e543b298f3 100644 --- a/frontend/src/business/components/track/issue/IssueDescriptionTableItem.vue +++ b/frontend/src/business/components/track/issue/IssueDescriptionTableItem.vue @@ -10,8 +10,7 @@ placement="right" width="500" trigger="hover" - popper-class="issues-popover" - > + popper-class="issues-popover"> {{ $t('test_track.issue.preview') }} diff --git a/frontend/src/template/report/plan/planReportUse.js b/frontend/src/template/report/plan/planReportUse.js index 67cac11b46..6a2ccd90c4 100644 --- a/frontend/src/template/report/plan/planReportUse.js +++ b/frontend/src/template/report/plan/planReportUse.js @@ -1,5 +1,5 @@ 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 '@/common/css/menu-header.css'; import '@/common/css/main.css'; @@ -8,6 +8,7 @@ import chart from "@/common/js/chart"; import filters from "@/common/js/filter"; import icon from "@/common/js/icon"; import message from "@/common/js/message"; +import mavonEditor from "mavon-editor"; // import CKEditor from '@ckeditor/ckeditor5-vue'; @@ -31,6 +32,8 @@ function planReportUse(id, template) { Vue.use(icon); Vue.use(message); // Vue.use(CKEditor); + Vue.use(mavonEditor); + Vue.use(Popover); new Vue({ el: id,