diff --git a/frontend/src/business/components/track/review/commom/ReviewComment.vue b/frontend/src/business/components/track/review/commom/ReviewComment.vue index 9eed8194ca..7e6215f4b4 100644 --- a/frontend/src/business/components/track/review/commom/ReviewComment.vue +++ b/frontend/src/business/components/track/review/commom/ReviewComment.vue @@ -110,14 +110,14 @@ export default { this.$refs.md.toolbar_left_click('trash'); }); }, - inputLight() { - this.$refs.test.focus(); - }, + /* inputLight() { + this.$refs.md.focus(); + },*/ refresh() { this.$emit('getComments'); }, //富文本框 - imgAdd(pos, file){ + imgAdd(pos, file) { let param = { id: getUUID().substring(0, 8) }; diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue index 1acdf8291a..bc17696061 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue @@ -272,7 +272,7 @@ export default { } }); } else { - this.$refs.reviewComment.inputLight(); + /* this.$refs.reviewComment.inputLight();*/ this.$warning(this.$t('test_track.comment.description_is_null')); } } else {