fix: 修复bug issue:NEZ-41
This commit is contained in:
@@ -206,7 +206,12 @@ li{
|
||||
padding: 0 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.el-textarea .el-input__count { /*防止字数限制提示信息遮挡内容和滚动条*/
|
||||
right: 20px;
|
||||
}
|
||||
.el-textarea__inner {
|
||||
padding: 5px 60px 5px 15px;
|
||||
}
|
||||
.nz-input-group-prepend {
|
||||
border-radius: 4px 0 0 4px;
|
||||
}
|
||||
|
||||
@@ -137,8 +137,8 @@
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
<div class="param-box param-box-module">
|
||||
<div class="param-box-row" v-for="(item, index) in endpoint.paramObj" v-if="rightBox.isEdit">
|
||||
<div v-if="rightBox.isEdit" class="param-box param-box-module">
|
||||
<div class="param-box-row" v-for="(item, index) in endpoint.paramObj">
|
||||
<el-form-item class="param-box-row-key" :rules="{required: true, message: $t('validate.required'), trigger: 'blur'}" :prop="'paramObj.' + index + '.key'">
|
||||
<el-input placeholder="key" size="mini" v-model="item.key"></el-input>
|
||||
</el-form-item>
|
||||
@@ -148,9 +148,9 @@
|
||||
</el-form-item>
|
||||
<span class="param-box-row-symbol" @click="removeParam(index)"><i class="nz-icon nz-icon-minus-square"></i></span>
|
||||
</div>
|
||||
<div class="param-box-row" v-for="(item, index) in endpoint.paramObj" v-if="!rightBox.isEdit">
|
||||
<div class="right-box-form-content-txt">{{item.key}}={{item.value}}</div>
|
||||
</div>
|
||||
<div v-else v-for="(item, index) in endpoint.paramObj" v-if="!rightBox.isEdit">
|
||||
<div class="right-box-form-content-txt">{{item.key}}={{item.value}}</div>
|
||||
</div>
|
||||
|
||||
</el-form-item>
|
||||
|
||||
@@ -121,8 +121,12 @@
|
||||
{required: true, message: this.$t('validate.required'), trigger: 'change'}
|
||||
],
|
||||
port: [
|
||||
{validator:port, trigger: 'blur'}
|
||||
{validator:port, trigger: 'blur'},
|
||||
{required: true, message: this.$t('validate.required'), trigger: 'blur'},
|
||||
],
|
||||
path: [
|
||||
{required: true, message: this.$t('validate.required'), trigger: 'blur'},
|
||||
]
|
||||
},
|
||||
projectList: [],
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<el-checkbox class="sidebar-info-item" :class="{'sidebar-info-item-active': indOf(checkList, item.id)}"
|
||||
v-for="(item,key) in checkListData" :key="key" :label=item.id>
|
||||
<div class="sidebar-info-item-txt">
|
||||
<el-popover v-if="item.name.length > 12" trigger="hover" placement="top-start" :content="item.name" >
|
||||
<el-popover v-if="item.name.length > 16" trigger="hover" placement="top-start" :content="item.name" >
|
||||
<span slot="reference">{{item.name}}</span>
|
||||
</el-popover>
|
||||
<span v-else>{{item.name}}</span>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
:id="'project-module-'+item.id"
|
||||
>
|
||||
<div class="sidebar-info-item-txt">
|
||||
<el-popover v-if="item.name.length > 12" trigger="hover" placement="top-start" :content="item.name" >
|
||||
<el-popover v-if="item.name.length > 16" trigger="hover" placement="top-start" :content="item.name" >
|
||||
<span slot="reference">{{item.name}}</span>
|
||||
</el-popover>
|
||||
<span v-else>{{item.name}}</span>
|
||||
|
||||
Reference in New Issue
Block a user