mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
fix: 日期组件样式修复
This commit is contained in:
@@ -102,7 +102,7 @@ export default {
|
||||
}
|
||||
.component-custom {
|
||||
outline: none;
|
||||
width: 100%;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -39,6 +39,9 @@ export default {
|
||||
if ((this.options.attrs.type === 'date' || this.options.attrs.type === 'daterange') && Array.isArray(this.options.value) && this.options.value.length === 0) {
|
||||
this.options.value = null
|
||||
}
|
||||
if (!!this.options && !!this.options.value && Object.keys(this.options.value).length === 0) {
|
||||
this.options.value = null
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
search() {
|
||||
|
||||
Reference in New Issue
Block a user