@@ -692,7 +692,7 @@ const queryHeaderValues = (queryString: string, cb: (arg: any) => void) => {
692
692
693
693
<el-drawer v-model =" codeDialogOpened" size =" 50%" >
694
694
<template #header >
695
- <h4 >Code Generator </h4 >
695
+ <h4 >{{ t('title.codeGenerator') }} </h4 >
696
696
</template >
697
697
<template #default >
698
698
<div style =" padding-bottom : 10px ;" >
@@ -718,16 +718,17 @@ const queryHeaderValues = (queryString: string, cb: (arg: any) => void) => {
718
718
719
719
<el-drawer v-model =" parameterDialogOpened" >
720
720
<template #header >
721
- <h4 >API Request Parameters </h4 >
721
+ <h4 >{{ t('title.apiRequestParameter') }} </h4 >
722
722
</template >
723
723
<template #default >
724
- <el-table :data =" parameters" style =" width : 100% " >
725
- <el-table-column label =" Key" width =" 180" >
724
+ <el-table :data =" parameters" style =" width : 100% "
725
+ :empty-text =" t('tip.noParameter')" >
726
+ <el-table-column :label =" t('field.key')" width =" 180" >
726
727
<template #default =" scope " >
727
728
<el-input v-model =" scope.row.key" placeholder =" Key" @change =" paramChange" />
728
729
</template >
729
730
</el-table-column >
730
- <el-table-column label =" Value " >
731
+ <el-table-column : label =" t('field.value') " >
731
732
<template #default =" scope " >
732
733
<div style =" display : flex ; align-items : center " >
733
734
<el-input v-model =" scope.row.value" placeholder =" Value" />
@@ -743,7 +744,7 @@ const queryHeaderValues = (queryString: string, cb: (arg: any) => void) => {
743
744
744
745
<el-footer style =" height : auto ;" >
745
746
<el-tabs v-model =" testResultActiveTab" >
746
- <el-tab-pane label =" Output " name =" output" >
747
+ <el-tab-pane : label =" t('title.output') " name =" output" >
747
748
<el-tag class =" ml-2" type =" success" v-if =" testResult.statusCode && testResult.error === ''" >{{ t('httpCode.' + testResult.statusCode) }}</el-tag >
748
749
<el-tag class =" ml-2" type =" danger" v-if =" testResult.statusCode && testResult.error !== ''" >{{ t('httpCode.' + testResult.statusCode) }}</el-tag >
749
750
0 commit comments