From 221f275f728e9bd0c78b0510b6cee7353713a8c1 Mon Sep 17 00:00:00 2001 From: metersphere-bot <78466014+metersphere-bot@users.noreply.github.com> Date: Fri, 2 Jul 2021 18:27:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=A8=E4=BE=8B=E8=AF=84=E5=AE=A1?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E9=80=9A=E8=BF=87=20(#4363)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: wenyann --- .../components/track/review/commom/ReviewComment.vue | 8 ++++---- .../review/view/components/TestReviewTestCaseEdit.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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 {