提交 3bab0574 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 日期组件样式修复

上级 1ea046b6
......@@ -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() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论