refactor(接口定义): 优化环境变量列表

This commit is contained in:
wxg0103 2022-08-18 19:18:28 +08:00 committed by 建国
parent 84661b4777
commit c91e248f01
4 changed files with 21 additions and 10 deletions

View File

@ -2393,12 +2393,6 @@ export default {
vertical-align: center;
}
/deep/ .show-more-btn {
width: 0px;
height: 17px;
line-height: 10px;
}
/deep/ .ms-main-container {
padding: 5px 5px 5px 10px;
}

View File

@ -52,8 +52,8 @@
</el-col>
<el-col :span="19">
<el-select v-model="editData.quotedData" size="small" :disabled="disabled">
<el-option label="True" :value="true"/>
<el-option label="False" :value="false"/>
<el-option label="true" :value="true"/>
<el-option label="false" :value="false"/>
</el-select>
</el-col>
</el-row>

View File

@ -113,6 +113,7 @@
:field="item"
:fields-width="fieldsWidth"
:label="$t('commons.description')"
min-width="70"
sortable>
</ms-table-column>
</span>
@ -147,7 +148,7 @@
<el-tooltip class="item-tabs" effect="dark" :content="$t('api_test.request.headers')" placement="top-start"
slot="label">
<span>{{ $t('api_test.request.headers') }}
<div class="el-step__icon is-text ms-api-col ms-variable-header" v-if="headers.length>1">
<div class="el-step__icon is-text ms-api-col" v-if="headers.length>1">
<div class="el-step__icon-inner">{{ headers.length - 1 }}</div>
</div>
</span>
@ -632,8 +633,20 @@ fieldset {
border: 0px;
}
.ms-fieldset .ms-step-tree-cell::-webkit-scrollbar {
width: 0 !important;
}
.ms-select {
width: 100px;
margin-right: 10px;
}
.el-dialog__body {
padding: 0 20px 30px 20px;
}
.ms-select-all-fixed .table-select-icon {
display: none !important;
}
</style>

View File

@ -70,7 +70,7 @@
</template>
</ms-table-column>
<ms-table-column :label="$t('commons.operating')" width="150" fixed="right">
<ms-table-column :label="$t('commons.operating')" width="150">
<template v-slot:default="scope">
<span>
<el-switch v-model="scope.row.enable" size="mini"/>
@ -396,4 +396,8 @@ export default {
.kv-delete {
width: 60px;
}
/deep/ .table-select-icon {
display: none !important;
}
</style>