diff --git a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue
index 67d34969aa..249299ef61 100644
--- a/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue
+++ b/frontend/src/business/components/track/case/components/TestCaseEditOtherInfo.vue
@@ -73,8 +73,8 @@
:on-exceed="handleExceed"
:on-success="handleSuccess"
:on-error="handleError"
- :disabled="(readOnly && isTestPlanEdit) || isCopy">
- {{$t('test_track.case.add_attachment')}}
+ :disabled="readOnly || isCopy">
+ {{$t('test_track.case.add_attachment')}}
{{ $t('test_track.case.upload_tip') }}
@@ -152,7 +152,7 @@ export default {
ReviewCommentItem,
FormRichTextItem, TestCaseIssueRelate, TestCaseAttachment, MsRichText, TestCaseRichText
},
- props: ['form', 'labelWidth', 'caseId', 'readOnly', 'projectId', 'isTestPlan', 'planId', 'versionEnable', 'isCopy', 'copyCaseId', 'isTestPlanEdit',
+ props: ['form', 'labelWidth', 'caseId', 'readOnly', 'projectId', 'isTestPlan', 'planId', 'versionEnable', 'isCopy', 'copyCaseId',
'type', 'comments', 'isClickAttachmentTab',
'defaultOpen'
],
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 2baa1971de..61cf20dde9 100644
--- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue
+++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue
@@ -111,7 +111,7 @@
v-if="testCase.stepModel === 'STEP'" :form="testCase"/>
-