From be4cde61e40b408289e30664cd8f7c2a22b79760 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 15 Mar 2023 18:00:07 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E6=98=AF=E5=90=A6=E5=BF=85=E5=A1=AB=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1024456 --user=王孝刚 【接口测试】接口中 请求体/QUERY参数/REST参数-是否必填默认信息显示优化 https://www.tapd.cn/55049933/s/1350680 --- .../src/business/definition/components/ApiVariable.vue | 4 ++-- .../definition/components/mock/Components/MockApiVariable.vue | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/api-test/frontend/src/business/definition/components/ApiVariable.vue b/api-test/frontend/src/business/definition/components/ApiVariable.vue index 34b2f531a7..906d599a00 100644 --- a/api-test/frontend/src/business/definition/components/ApiVariable.vue +++ b/api-test/frontend/src/business/definition/components/ApiVariable.vue @@ -248,8 +248,8 @@ export default { return { currentItem: null, requireds: [ - { name: this.$t('commons.selector.required'), id: true }, - { name: this.$t('commons.selector.not_required'), id: false }, + { name: this.$t('commons.yes'), id: true }, + { name: this.$t('commons.no'), id: false }, ], isSelectAll: true, isActive: true, diff --git a/api-test/frontend/src/business/definition/components/mock/Components/MockApiVariable.vue b/api-test/frontend/src/business/definition/components/mock/Components/MockApiVariable.vue index 65cb378698..f50a4356bb 100644 --- a/api-test/frontend/src/business/definition/components/mock/Components/MockApiVariable.vue +++ b/api-test/frontend/src/business/definition/components/mock/Components/MockApiVariable.vue @@ -194,10 +194,6 @@ export default { data() { return { currentItem: null, - requireds: [ - { name: this.$t('commons.selector.required'), id: true }, - { name: this.$t('commons.selector.not_required'), id: false }, - ], isSelectAll: true, isActive: true, rangeTypeOptions: [