From 8b1af2b9197c78550ea1001762c608eeb2b3d4de Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Wed, 5 Jul 2023 16:11:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=20=E6=8E=A5=E5=8F=A3=E5=8F=98=E6=9B=B4=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=B1=87=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027352 --user=宋昌昌 【接口测试】修改接口请求参数-变更记录问题汇总 https://www.tapd.cn/55049933/s/1389768 --- .../src/business/history/api/common/ApiKeyValueDetail.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api-test/frontend/src/business/history/api/common/ApiKeyValueDetail.vue b/api-test/frontend/src/business/history/api/common/ApiKeyValueDetail.vue index 700b96037c..27bc927a48 100644 --- a/api-test/frontend/src/business/history/api/common/ApiKeyValueDetail.vue +++ b/api-test/frontend/src/business/history/api/common/ApiKeyValueDetail.vue @@ -168,10 +168,7 @@ export default { this.data.push(item); item['box'] = true; newObj['style'] = background_old; - newObj['required'] = - newObj.required === this.$t('commons.selector.required') - ? this.$t('commons.selector.required') - : this.$t('commons.selector.not_required'); + newObj['required'] = newObj.required ? this.$t('commons.selector.required') : this.$t('commons.selector.not_required'); this.data.push(newObj); } else { this.data.push(item);