fix(数据集): 修复参数类型选择日期相关参数,后面的选择框没有对齐的问题

This commit is contained in:
dataeaseShu 2024-05-14 15:29:47 +08:00
parent 7370a66c91
commit 717ab4e9d1

View File

@ -769,10 +769,10 @@ const mousedownDrag = () => {
</el-input>
<div
v-if="getIconName(scope.row.type[0]) === 'time'"
class="ed-input-group ed-input-group--prepend de-group__prepend"
class="ed-input ed-input--light ed-input-group ed-input-group--prepend de-group__prepend"
>
<div class="ed-input-group__prepend">
<el-select v-model="scope.row.defaultValueScope" style="width: 161px">
<el-select v-model="scope.row.defaultValueScope" style="width: calc(100% + 22px)">
<el-option
v-for="item in defaultValueScopeList"
:key="item.value"
@ -1207,18 +1207,8 @@ const mousedownDrag = () => {
padding: 0 11px;
}
.de-group__prepend {
width: 100%;
.ed-input-group__prepend {
padding: 0 11px;
margin-right: -1px;
.ed-select {
width: 178px !important;
margin: 0 -10px 0 -10px;
}
}
.ed-date-editor {
flex: 1;
.ed-input__wrapper {
border-top-left-radius: 0;
border-bottom-left-radius: 0;