From bb246f45289f8899ebd5d2dfe1d5bc3be5ba880a Mon Sep 17 00:00:00 2001 From: Charles7c Date: Fri, 11 Oct 2024 19:44:53 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=AE=8C=E5=96=84=E9=83=A8=E5=88=86?= =?UTF-8?q?=E9=99=90=E5=88=B6=E5=AD=97=E6=95=B0=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E7=9A=84=E9=99=90=E5=88=B6=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/components.d.ts | 9 +++++++++ src/views/schedule/job/JobAddModal.vue | 2 +- src/views/system/config/components/BasicSetting.vue | 11 ++++++++--- src/views/system/notice/NoticeAddModal.vue | 2 +- src/views/system/notice/page/add.vue | 4 ++++ src/views/system/user/UserAddDrawer.vue | 6 +++--- 6 files changed, 26 insertions(+), 8 deletions(-) diff --git a/src/types/components.d.ts b/src/types/components.d.ts index ce302d06..9d815a5d 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -8,7 +8,10 @@ export {} declare module 'vue' { export interface GlobalComponents { Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default'] + CronForm: typeof import('./../components/GenCron/CronForm/index.vue')['default'] + CronModel: typeof import('./../components/GenCron/CronModel/index.vue')['default'] DateRangePicker: typeof import('./../components/DateRangePicker/index.vue')['default'] + DayForm: typeof import('./../components/GenCron/CronForm/component/day-form.vue')['default'] GiCellAvatar: typeof import('./../components/GiCell/GiCellAvatar.vue')['default'] GiCellGender: typeof import('./../components/GiCell/GiCellGender.vue')['default'] GiCellStatus: typeof import('./../components/GiCell/GiCellStatus.vue')['default'] @@ -27,6 +30,7 @@ declare module 'vue' { GiTable: typeof import('./../components/GiTable/index.vue')['default'] GiTag: typeof import('./../components/GiTag/index.tsx')['default'] GiThemeBtn: typeof import('./../components/GiThemeBtn/index.vue')['default'] + HourForm: typeof import('./../components/GenCron/CronForm/component/hour-form.vue')['default'] Icon403: typeof import('./../components/icons/Icon403.vue')['default'] Icon404: typeof import('./../components/icons/Icon404.vue')['default'] Icon500: typeof import('./../components/icons/Icon500.vue')['default'] @@ -35,12 +39,17 @@ declare module 'vue' { IconTreeAdd: typeof import('./../components/icons/IconTreeAdd.vue')['default'] IconTreeReduce: typeof import('./../components/icons/IconTreeReduce.vue')['default'] JsonPretty: typeof import('./../components/JsonPretty/index.vue')['default'] + MinuteForm: typeof import('./../components/GenCron/CronForm/component/minute-form.vue')['default'] + MonthForm: typeof import('./../components/GenCron/CronForm/component/month-form.vue')['default'] ParentView: typeof import('./../components/ParentView/index.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] + SecondForm: typeof import('./../components/GenCron/CronForm/component/second-form.vue')['default'] TextCopy: typeof import('./../components/TextCopy/index.vue')['default'] Verify: typeof import('./../components/Verify/index.vue')['default'] VerifyPoints: typeof import('./../components/Verify/Verify/VerifyPoints.vue')['default'] VerifySlide: typeof import('./../components/Verify/Verify/VerifySlide.vue')['default'] + WeekForm: typeof import('./../components/GenCron/CronForm/component/week-form.vue')['default'] + YearForm: typeof import('./../components/GenCron/CronForm/component/year-form.vue')['default'] } } diff --git a/src/views/schedule/job/JobAddModal.vue b/src/views/schedule/job/JobAddModal.vue index b89dbc9f..ebf9e994 100644 --- a/src/views/schedule/job/JobAddModal.vue +++ b/src/views/schedule/job/JobAddModal.vue @@ -21,7 +21,7 @@ - + diff --git a/src/views/system/config/components/BasicSetting.vue b/src/views/system/config/components/BasicSetting.vue index 6de3be6e..758b9156 100644 --- a/src/views/system/config/components/BasicSetting.vue +++ b/src/views/system/config/components/BasicSetting.vue @@ -55,16 +55,20 @@ - + - + - +
@@ -124,6 +128,7 @@ const { form } = useForm({ }) const rules: FormInstance['rules'] = { SITE_TITLE: [{ required: true, message: '请输入系统标题' }], + SITE_DESCRIPTION: [{ required: true, message: '请输入系统描述' }], SITE_COPYRIGHT: [{ required: true, message: '请输入版权信息' }] } diff --git a/src/views/system/notice/NoticeAddModal.vue b/src/views/system/notice/NoticeAddModal.vue index 339e710d..b4241218 100644 --- a/src/views/system/notice/NoticeAddModal.vue +++ b/src/views/system/notice/NoticeAddModal.vue @@ -20,7 +20,7 @@ - + diff --git a/src/views/system/notice/page/add.vue b/src/views/system/notice/page/add.vue index 492c17d1..d5318dd6 100644 --- a/src/views/system/notice/page/add.vue +++ b/src/views/system/notice/page/add.vue @@ -51,6 +51,10 @@ const columns: Columns = reactive([ label: '标题', field: 'title', type: 'input', + props: { + maxLength: 150, + showWordLimit: true + }, rules: [{ required: true, message: '请输入标题' }] }, { diff --git a/src/views/system/user/UserAddDrawer.vue b/src/views/system/user/UserAddDrawer.vue index f15e62de..d3ef2d0a 100644 --- a/src/views/system/user/UserAddDrawer.vue +++ b/src/views/system/user/UserAddDrawer.vue @@ -10,13 +10,13 @@ > - + - + - +