From 0dd125a58915e99e37dd99a2ba6edd1b9e531c44 Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Tue, 8 Nov 2022 09:54:27 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=95=E7=94=A8=E7=9A=84case=E5=8F=AF?=
=?UTF-8?q?=E4=BB=A5=E4=BF=AE=E6=94=B9=E5=85=B3=E8=81=94=E6=96=87=E4=BB=B6?=
=?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1019480 --user=王孝刚
【接口测试】github#19536,接口自动化模块,引用的接口case也可以修改请求体的关联文件,但修改后不会生效。应该禁止修改
https://www.tapd.cn/55049933/s/1291458
---
.../business/definition/components/ApiVariable.vue | 2 +-
.../definition/components/body/ApiBodyFileUpload.vue | 11 ++++++++---
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/api-test/frontend/src/business/definition/components/ApiVariable.vue b/api-test/frontend/src/business/definition/components/ApiVariable.vue
index 816ba319b4..4b95e311e9 100644
--- a/api-test/frontend/src/business/definition/components/ApiVariable.vue
+++ b/api-test/frontend/src/business/definition/components/ApiVariable.vue
@@ -57,7 +57,7 @@
-
+
diff --git a/api-test/frontend/src/business/definition/components/body/ApiBodyFileUpload.vue b/api-test/frontend/src/business/definition/components/body/ApiBodyFileUpload.vue
index ab4a9bbfab..4109de424a 100644
--- a/api-test/frontend/src/business/definition/components/body/ApiBodyFileUpload.vue
+++ b/api-test/frontend/src/business/definition/components/body/ApiBodyFileUpload.vue
@@ -17,11 +17,12 @@
:http-request="upload"
:beforeUpload="uploadValidate"
ref="uploadLocal">
- {{ $t('permission.project_file.local_upload') }}
+ {{ $t('permission.project_file.local_upload') }}
- {{ $t('permission.project_file.associated_files') }}
+ {{ $t('permission.project_file.associated_files') }}
@@ -77,7 +78,11 @@ export default {
id: String,
default() {
return {}
- }
+ },
+ isReadOnly: {
+ type: Boolean,
+ default: false
+ },
},
methods: {
exist() {