feat: 弹框优化
This commit is contained in:
parent
97a99f8006
commit
3ba612e17e
|
@ -3,13 +3,13 @@
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:title="$t('api_test.environment.select_environment')"
|
:title="$t('api_test.environment.select_environment')"
|
||||||
:visible.sync="dialogVisible"
|
:visible.sync="dialogVisible"
|
||||||
width="25%"
|
width="20%"
|
||||||
:destroy-on-close="true"
|
:destroy-on-close="true"
|
||||||
@close="handleClose"
|
@close="handleClose"
|
||||||
>
|
>
|
||||||
<el-form label-position="right" label-width="150px" size="medium" ref="form">
|
<el-form ref="form">
|
||||||
<el-form-item prop="type">
|
<el-form-item prop="type">
|
||||||
<el-select v-model="environmentId" value-key="id" size="small" class="ms-htt-width"
|
<el-select v-model="environmentId" value-key="id" class="ms-htt-width"
|
||||||
:placeholder="$t('api_test.definition.request.run_env')"
|
:placeholder="$t('api_test.definition.request.run_env')"
|
||||||
clearable>
|
clearable>
|
||||||
<el-option v-for="(environment, index) in environments" :key="index"
|
<el-option v-for="(environment, index) in environments" :key="index"
|
||||||
|
@ -22,6 +22,7 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
<!-- <el-button onclick="this.handleClose">{{ $t('commons.cancel') }}</el-button>-->
|
<!-- <el-button onclick="this.handleClose">{{ $t('commons.cancel') }}</el-button>-->
|
||||||
<el-button type="primary" @click="createPerformance" @keydown.enter.native.prevent>
|
<el-button type="primary" @click="createPerformance" @keydown.enter.native.prevent>
|
||||||
|
|
Loading…
Reference in New Issue