diff --git a/test-track/frontend/src/business/review/view/components/TestReviewTestCaseEdit.vue b/test-track/frontend/src/business/review/view/components/TestReviewTestCaseEdit.vue index 3f0f6a0702..21ea490e13 100644 --- a/test-track/frontend/src/business/review/view/components/TestReviewTestCaseEdit.vue +++ b/test-track/frontend/src/business/review/view/components/TestReviewTestCaseEdit.vue @@ -113,7 +113,6 @@ import ReviewComment from "@/business/review/commom/ReviewComment"; import TestCaseAttachment from "@/business/case/components/TestCaseAttachment"; import { buildTestCaseOldFields, - getTemplate, parseCustomField, } from "metersphere-frontend/src/utils/custom_field"; import TestCaseEditOtherInfo from "@/business/case/components/TestCaseEditOtherInfo"; @@ -300,6 +299,7 @@ export default { return; } this.index++; + this.caseId = this.testCases[this.index].caseId; this.getTestCase(this.testCases[this.index].id); }, isLastData() { @@ -317,6 +317,7 @@ export default { return; } this.index--; + this.caseId = this.testCases[this.index].caseId; this.getTestCase(this.testCases[this.index].id); }, getTestCase(id) { diff --git a/test-track/frontend/src/business/review/view/components/TestReviewTestCaseEditOperationBar.vue b/test-track/frontend/src/business/review/view/components/TestReviewTestCaseEditOperationBar.vue index ab15ad61ee..7b4517ecce 100644 --- a/test-track/frontend/src/business/review/view/components/TestReviewTestCaseEditOperationBar.vue +++ b/test-track/frontend/src/business/review/view/components/TestReviewTestCaseEditOperationBar.vue @@ -34,7 +34,7 @@
@@ -43,7 +43,7 @@ @click="handlePre"> - {{ $t('commons.pre_page') }} + {{ $t('case.next_public_case') }} diff --git a/test-track/frontend/src/business/review/view/components/commnet/CommentHistory.vue b/test-track/frontend/src/business/review/view/components/commnet/CommentHistory.vue index 63878c8833..42c365c87a 100644 --- a/test-track/frontend/src/business/review/view/components/commnet/CommentHistory.vue +++ b/test-track/frontend/src/business/review/view/components/commnet/CommentHistory.vue @@ -57,6 +57,9 @@ export default { watch: { comments() { this.$emit('emptyChange', this.isCommentEmpty); + }, + caseId() { + this.getComments(); } }, methods: {