<script>
import datebox from "./datebox.vue";
export default {
    name: "DateBoxV1",
    extends: datebox,
    methods: {},
    mounted() {
        const shortcuts = this.$utils.get(this.myConfig, "shortcuts", [
            {
                text: "今天",
                value() {
                    return new Date();
                },
            },
        ]);
        this.options.shortcuts = shortcuts;
    },
    // beforeUnmount() {
    //     // console.log("我销毁了");
    // },
};
</script>
