forked from github/dataease
fix: 日期组件样式修复
This commit is contained in:
parent
1ea046b637
commit
3bab0574e2
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user