Unusage code ejected
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
{'readonly': readonly},
|
||||
{'disabled': disabled},
|
||||
{'hidden-year': hiddenYear},
|
||||
{'data-value-control': dataValueControl},
|
||||
{'data-value-min': dataValueMin},
|
||||
formClasses
|
||||
]"
|
||||
@ -101,9 +100,6 @@ export default {
|
||||
hiddenYear: {
|
||||
type: [Boolean, String]
|
||||
},
|
||||
dataValueControl: {
|
||||
type: [Boolean, String, Date]
|
||||
},
|
||||
dataValueMin: {
|
||||
type: [Boolean, String, Date]
|
||||
}
|
||||
@ -134,18 +130,6 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
dataControlEvent() {
|
||||
if(this.dataValueControl) {
|
||||
let date_control = document.querySelector('.data-value-control .datepicker');
|
||||
|
||||
if(this.dataValueMin) {
|
||||
debugger;
|
||||
this.dateConfig.minDate = date_control.value;
|
||||
// this.$set(this.dateConfig,'minDate', date_control.value);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
change() {
|
||||
this.$emit('interface', this.real_model);
|
||||
|
||||
@ -163,7 +147,6 @@ export default {
|
||||
wrapper.classList.remove('hidden-year-flatpickr');
|
||||
});
|
||||
}
|
||||
//this.dataControlEvent();
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user