fix(接口测试): 修复自定义变量 内容被遮挡缺陷
This commit is contained in:
parent
f6af7c9d08
commit
ffc2c3f495
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="variable-input">
|
<div class="variable-input">
|
||||||
<el-input :disabled="isReadOnly" :value="value" v-bind="$attrs" :size="size" @change="change" @input="input"/>
|
<el-input class="el-input__inner_pd" :disabled="isReadOnly" :value="value" v-bind="$attrs" :size="size" @change="change" @input="input"/>
|
||||||
<div :class="{'hidden': !showVariable}" class="variable-combine" v-if="value">
|
<div :class="{'hidden': !showVariable}" class="variable-combine" v-if="value">
|
||||||
<div class="variable">{{variable}}</div>
|
<div class="variable">{{variable}}</div>
|
||||||
<el-tooltip :content="$t('api_test.copied')" manual v-model="visible" placement="top" :visible-arrow="false">
|
<el-tooltip :content="$t('api_test.copied')" manual v-model="visible" placement="top" :visible-arrow="false">
|
||||||
|
@ -70,6 +70,9 @@
|
||||||
.variable-input {
|
.variable-input {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
.el-input__inner_pd >>> .el-input__inner {
|
||||||
|
padding-right: 135px;
|
||||||
|
}
|
||||||
|
|
||||||
.variable-combine {
|
.variable-combine {
|
||||||
color: #7F7F7F;
|
color: #7F7F7F;
|
||||||
|
|
Loading…
Reference in New Issue