fix(接口测试): 修复自定义变量 内容被遮挡缺陷

This commit is contained in:
fit2-zhao 2020-10-13 16:37:43 +08:00
parent f6af7c9d08
commit ffc2c3f495
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<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="variable">{{variable}}</div>
<el-tooltip :content="$t('api_test.copied')" manual v-model="visible" placement="top" :visible-arrow="false">
@ -70,6 +70,9 @@
.variable-input {
position: relative;
}
.el-input__inner_pd >>> .el-input__inner {
padding-right: 135px;
}
.variable-combine {
color: #7F7F7F;