From eace25d3a20a8fd0aa5193542fce426b36d4bdbc Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 1 Apr 2023 11:33:50 +0800 Subject: [PATCH] =?UTF-8?q?REVIEW=20=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=EF=BC=88=E8=A1=A8=E5=8D=95=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Crontab/src/Crontab.vue | 5 +- src/views/infra/job/{form.vue => JobForm.vue} | 70 ++++--------------- src/views/infra/job/index.vue | 4 +- 3 files changed, 19 insertions(+), 60 deletions(-) rename src/views/infra/job/{form.vue => JobForm.vue} (69%) diff --git a/src/components/Crontab/src/Crontab.vue b/src/components/Crontab/src/Crontab.vue index fe33bd5f..0e474fb2 100644 --- a/src/components/Crontab/src/Crontab.vue +++ b/src/components/Crontab/src/Crontab.vue @@ -6,7 +6,10 @@ interface shortcutsType { value: string } const props = defineProps({ - modelValue: { type: String, default: '* * * * * ?' }, + modelValue: { + type: String, + default: '* * * * * ?' + }, shortcuts: { type: Array as PropType, default: () => [] } }) const defaultValue = ref('') diff --git a/src/views/infra/job/form.vue b/src/views/infra/job/JobForm.vue similarity index 69% rename from src/views/infra/job/form.vue rename to src/views/infra/job/JobForm.vue index b50bcacb..585370bf 100644 --- a/src/views/infra/job/form.vue +++ b/src/views/infra/job/JobForm.vue @@ -1,5 +1,4 @@