﻿<template>
    <div ref="cron" :title="value">{{value}}</div>
</template>
<script>
    export default {
        props: ['value'],
        mounted: function () {
            $(this.$refs.cron).jqCron({
                lang: 'cn',
                default_value: this.value.substr(2),
                no_reset_button: true
            }).jqCronGetInstance().disable();
        }
    };
</script>