mirror of https://github.com/ElemeFE/element
parent
1681040a78
commit
6f892b1b47
|
@ -858,10 +858,13 @@ export default {
|
||||||
this.picker.selectionMode = this.selectionMode;
|
this.picker.selectionMode = this.selectionMode;
|
||||||
this.picker.unlinkPanels = this.unlinkPanels;
|
this.picker.unlinkPanels = this.unlinkPanels;
|
||||||
this.picker.arrowControl = this.arrowControl || this.timeArrowControl || false;
|
this.picker.arrowControl = this.arrowControl || this.timeArrowControl || false;
|
||||||
|
this.picker.clearable = this.clearable;
|
||||||
this.$watch('format', (format) => {
|
this.$watch('format', (format) => {
|
||||||
this.picker.format = format;
|
this.picker.format = format;
|
||||||
});
|
});
|
||||||
|
this.$watch('clearable', (clearable) => {
|
||||||
|
this.picker.clearable = clearable;
|
||||||
|
});
|
||||||
const updateOptions = () => {
|
const updateOptions = () => {
|
||||||
const options = this.pickerOptions;
|
const options = this.pickerOptions;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue