fix: 高级搜索日期时间选择器未对齐

This commit is contained in:
shiziyuan9527 2021-09-07 11:30:29 +08:00 committed by 刘瑞斌
parent f6a71c7def
commit 3657683c0e
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@
<el-date-picker v-model="scope.component.value" v-bind="scope.component.props"
:placeholder="$t('commons.date.select_date_time')" size="small"
:type="type" :key="type" value-format="timestamp"
class="ms-el-date-picker"
:range-separator="$t('commons.date.range_separator')"
:start-placeholder="$t('commons.date.start_date_time')"
:end-placeholder="$t('commons.date.end_date_time')">
@ -47,5 +48,8 @@
</script>
<style scoped>
.ms-el-date-picker >>> .el-date-editor--datetimerange.el-input,
.el-date-editor--datetimerange.el-input__inner {
width: 100%;
}
</style>