fix(测试跟踪): 用例评审点击不通过没有反应

--bug=1008914 --user=lyh 【测试跟踪】用例评审,不填写评论,点击不通过,没有反应,console有报错
https://www.tapd.cn/55049933/s/1081817
This commit is contained in:
shiziyuan9527 2021-12-16 17:11:24 +08:00 committed by shiziyuan9527
parent c34be4c8eb
commit ef0acc965a
2 changed files with 7 additions and 1 deletions

View File

@ -131,6 +131,12 @@ export default {
}, },
getContent() { getContent() {
return this.$refs.md.d_render; return this.$refs.md.d_render;
},
getTextareaDom() {
return this.$refs.md.getTextareaDom();
},
toolbar_left_click(param) {
this.$refs.md.toolbar_left_click(param);
} }
} }
} }

View File

@ -17,7 +17,7 @@
<div> <div>
<div class="editors_div_style"> <div class="editors_div_style">
<div id="editorsDiv" > <div id="editorsDiv" >
<ms-mark-down-text prop="description" :data="form" :toolbars="toolbars"/> <ms-mark-down-text prop="description" :data="form" :toolbars="toolbars" ref="md"/>
</div> </div>
</div> </div>