✨ cron 生成组件.
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
:placeholder="placeholder"
|
||||
@change="onInputCronChange">
|
||||
<template #prepend>
|
||||
<span class="allow-click">Expression</span>
|
||||
<span class="allow-click">表达式</span>
|
||||
</template>
|
||||
<template #append>
|
||||
<span class="allow-click span-blue"
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'cronInput'
|
||||
name: 'cronGeneratorInput'
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
modal-class="modal-form-small"
|
||||
title-align="start"
|
||||
title="cron 生成器"
|
||||
:top="16"
|
||||
:top="32"
|
||||
:width="780"
|
||||
:align-center="false"
|
||||
:draggable="true"
|
||||
@@ -11,7 +11,7 @@
|
||||
:unmount-on-close="true"
|
||||
:body-style="{ padding: '4px 16px 8px 16px' }">
|
||||
<!-- cron 输入框 -->
|
||||
<cron-input v-model="cronExpression" />
|
||||
<cron-generator-input v-model="cronExpression" />
|
||||
<!-- 页脚-->
|
||||
<template #footer>
|
||||
<a-button size="small" @click="handlerClose">关闭</a-button>
|
||||
@@ -26,14 +26,14 @@
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'cronModal'
|
||||
name: 'cronGeneratorModal'
|
||||
};
|
||||
</script>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from 'vue';
|
||||
import useVisible from '@/hooks/visible';
|
||||
import CronInput from '@/components/data/cron/input/index.vue';
|
||||
import CronGeneratorInput from '../generator-input/index.vue';
|
||||
|
||||
const { visible, setVisible } = useVisible();
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'nextCronModal'
|
||||
name: 'cronNextModal'
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<a-modal v-model:visible="visible"
|
||||
body-class="modal-form-large"
|
||||
modal-class="modal-form-large"
|
||||
title-align="start"
|
||||
title="重置密码"
|
||||
:top="120"
|
||||
|
||||
Reference in New Issue
Block a user