vue-sync-cron-picker-antd
v1.0.0
Published
A Vue 3 cron expression picker built for Ant Design Vue.
Maintainers
Readme
vue-sync-cron-picker-antd
A Vue 3 Quartz-style cron expression picker built with Ant Design Vue.
Install
npm install vue-sync-cron-picker-antd ant-design-vue vueUsage
<script setup lang="ts">
import { ref } from 'vue';
import SyncCronPicker from 'vue-sync-cron-picker-antd';
import 'vue-sync-cron-picker-antd/style.css';
const cron = ref('');
</script>
<template>
<SyncCronPicker v-model="cron" placeholder="请选择任务执行时间" />
</template>placeholder is optional and defaults to 请选择同步时间.
The component emits a six-field Quartz-style expression:
second minute hour day month ?Supported modes for seconds, minutes, hours, days, and months:
- Every value
- Interval
- Specific values
- Range
Publishing
npm login --registry=https://registry.npmjs.org/
npm publish --access public