uu
This commit is contained in:
parent
976dbafcb1
commit
f26308d7f3
@ -84,7 +84,7 @@
|
|||||||
},
|
},
|
||||||
mode: {
|
mode: {
|
||||||
default() {
|
default() {
|
||||||
return 'datetimerange' // datetime | date | datetimerange
|
return 'daterange' // datetime | date | datetimerange | daterange
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
customStyle:{
|
customStyle:{
|
||||||
@ -146,7 +146,7 @@
|
|||||||
this.$emit('update:value', val)
|
this.$emit('update:value', val)
|
||||||
},
|
},
|
||||||
handleClaValChange(res) {
|
handleClaValChange(res) {
|
||||||
const ary = Object.values(res)
|
const ary = typeof res == 'string' ? [res] : Object.values(res)
|
||||||
const val = [ary[0], ary[ary.length-1]]
|
const val = [ary[0], ary[ary.length-1]]
|
||||||
this.handleChange(val)
|
this.handleChange(val)
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user