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,