How to set the disabledDate? of a date after the type of the date selector in ivew is daterange

uses ivew"s date selector plug-in in the project, and has set the initial unselectable date through the official example, but since the required plug-in type in the project is daterange, the @ on-change event can only be triggered after two dates have been selected. But now there is a new requirement that after a date is selected, the range beyond 30 days before and after that date is automatically set to disable selection.

the following is the code

<DatePicker @on-ok="selectTime" 
    @on-change="onTimeChange" 
    :options="datePickerOption" 
    placement="bottom-end" 
    v-model="isTime" 
    class="selectMyTime" 
    confirm type="daterange" 
    format="yyyy-MM-dd" 
    placeholder="" 
></DatePicker>

<script>
module.exports={
    data:function() {
        return{
            datePickerOption: {
                disabledDate (date) {
                    return date && date.valueOf() < 1514736000000 || date && date.valueOf() > Date.now() + 604800000;
                }
            }
        },
    }
    methods:{
        onTimeChange: function(isTime) {
            this.datePickerOption = {
                disabledDate(date) {
                    return date && date.valueOf() < 1514736000000 || date && date.valueOf() < isTime - 2592000000 || date && date.valueOf() > isTime + 2592000000;
                }
            }
        },
    }
}
</script>

the method like above failed because it could not be executed until two dates were obtained.

is there any way to call a function method after clicking to select a date without changing the type="daterange"?

Jul.04,2021
Menu