--bug=1007028 --user=宋天阳 批量编辑接口定义状态国际化问题 https://www.tapd.cn/55049933/s/1053600;--bug=1006998 --user=宋天阳 【github#6600】在接口定义中文档显示错误 https://www.tapd.cn/55049933/s/1053605
This commit is contained in:
parent
de641948ef
commit
3a3ac3dfa1
|
@ -95,7 +95,9 @@
|
||||||
:middle-tip="$t('api_test.definition.case_title')"
|
:middle-tip="$t('api_test.definition.case_title')"
|
||||||
left-content="API"
|
left-content="API"
|
||||||
middle-content="CASE"
|
middle-content="CASE"
|
||||||
:right-content="$t('api_test.definition.doc_title')">
|
:right-content="$t('api_test.definition.doc_title')"
|
||||||
|
:right-button-enable="currentProtocol === 'HTTP' "
|
||||||
|
>
|
||||||
<!-- 列表集合 -->
|
<!-- 列表集合 -->
|
||||||
<ms-api-list
|
<ms-api-list
|
||||||
v-if="activeDom==='left'"
|
v-if="activeDom==='left'"
|
||||||
|
@ -137,7 +139,7 @@
|
||||||
ref="caseList"/>
|
ref="caseList"/>
|
||||||
<api-documents-page
|
<api-documents-page
|
||||||
class="api-doc-page"
|
class="api-doc-page"
|
||||||
v-if="activeDom==='right'"
|
v-if="activeDom==='right' && currentProtocol==='HTTP'"
|
||||||
:project-id="projectId"
|
:project-id="projectId"
|
||||||
:trash-enable="trashEnable"
|
:trash-enable="trashEnable"
|
||||||
:module-ids="selectNodeIds"/>
|
:module-ids="selectNodeIds"/>
|
||||||
|
@ -365,6 +367,9 @@ export default {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
currentProtocol() {
|
currentProtocol() {
|
||||||
|
if(this.activeDom === 'right'){
|
||||||
|
this.activeDom = 'left';
|
||||||
|
}
|
||||||
this.handleCommand("CLOSE_ALL");
|
this.handleCommand("CLOSE_ALL");
|
||||||
},
|
},
|
||||||
selectNodeIds() {
|
selectNodeIds() {
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-else :label="$t('test_track.case.updated_attr_value')" prop="value">
|
<el-form-item v-else :label="$t('test_track.case.updated_attr_value')" prop="value">
|
||||||
<el-select v-model="form.value" style="width: 80%" :filterable="filterable">
|
<el-select v-model="form.value" style="width: 80%" :filterable="filterable">
|
||||||
<el-option v-for="(option, index) in options" :key="index" :value="option.id" :label="option.label">
|
<el-option v-for="(option, index) in options" :key="index" :value="option.id" :label="$t(option.label)">
|
||||||
<div v-if="option.email">
|
<div v-if="option.email">
|
||||||
<span>{{option.id}}({{option.name}})</span>
|
<span>{{option.id}}({{option.name}})</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue