fix(项目设置): 修复环境相关问题
--bug=1025127 --user=王孝刚 【项目设置】项目环境-创建环境页面显示错误 https://www.tapd.cn/55049933/s/1359460
This commit is contained in:
parent
a7b702382d
commit
ad689949ae
|
@ -148,7 +148,7 @@
|
|||
{{ $t('commons.confirm') }}
|
||||
</el-button>
|
||||
<el-button size="small" style="margin-left: 10px" @click="cancelVariable"
|
||||
>{{ $t('commons.cancel') }}
|
||||
>{{ $t('commons.cancel') }}
|
||||
</el-button>
|
||||
<el-button v-if="showDelete" size="small" style="margin-left: 10px" @click="deleteVariable">
|
||||
{{ $t('commons.delete') }}
|
||||
|
@ -167,7 +167,7 @@
|
|||
placement="top-start"
|
||||
slot="label">
|
||||
<span
|
||||
>{{ $t('api_test.request.headers') }}
|
||||
>{{ $t('api_test.request.headers') }}
|
||||
<div class="el-step__icon is-text ms-api-col ms-header" v-if="headers.length > 1">
|
||||
<div class="el-step__icon-inner">
|
||||
{{ headers.length - 1 }}
|
||||
|
@ -468,10 +468,10 @@ export default {
|
|||
if (messages !== '') {
|
||||
this.$alert(
|
||||
this.$t('api_test.scenario.variables') +
|
||||
'【' +
|
||||
messages.substr(0, messages.length - 1) +
|
||||
'】' +
|
||||
this.$t('load_test.param_is_duplicate')
|
||||
'【' +
|
||||
messages.substr(0, messages.length - 1) +
|
||||
'】' +
|
||||
this.$t('load_test.param_is_duplicate')
|
||||
);
|
||||
}
|
||||
});
|
||||
|
@ -485,6 +485,7 @@ export default {
|
|||
this.variables.forEach((item) => {
|
||||
item.hidden = undefined;
|
||||
if (item.name && item.name != '') {
|
||||
item.showMore = false;
|
||||
saveVariables.push(item);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -85,6 +85,7 @@ export default {
|
|||
this.icon= ['fa', 'expand-alt'];
|
||||
}
|
||||
this.$emit("update:isFullScreen",bool);
|
||||
this.$emit("fullScreen");
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -90,7 +90,7 @@
|
|||
v-if="!scope.row.scope || scope.row.scope == 'api'"
|
||||
:placeholder="$t('commons.please_select')"
|
||||
size="mini"
|
||||
@change="changeType(scope.row)">
|
||||
@change="changeType(scope.row)">
|
||||
<el-option v-for="item in typeSelectOptions" :key="item.value" :label="item.label" :value="item.value" />
|
||||
</el-select>
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<template>
|
||||
<el-dialog :visible="dialogVisible" :title="dialogTitle"
|
||||
@close="close" :close-on-click-modal="false" append-to-body
|
||||
width="35%">
|
||||
width="550px">
|
||||
<el-form :rules="rules" label-width="80px" v-model="modeId">
|
||||
<el-form-item prop="modeId" :label="$t('commons.import_mode')">
|
||||
<el-select size="small" v-model="modeId">
|
||||
<el-select size="small" v-model="modeId" style="width: 360px">
|
||||
<el-option v-for="item in modeOptions" :key="item.id" :label="item.name" :value="item.id"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
|
Loading…
Reference in New Issue