From 12169f8e7410f03305fe1b70674c4cdda7c3c9a8 Mon Sep 17 00:00:00 2001 From: discreted66 <953831480@qq.com> Date: Wed, 9 Apr 2025 15:09:41 -0700 Subject: [PATCH] =?UTF-8?q?feat:=E6=97=A5=E5=8E=86=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E8=AF=A6=E7=BB=86=E6=97=B6=E9=97=B4=E6=94=AF=E6=8C=81=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/sites/demos/apis/calendar-view.js | 14 ++++++++++++++ packages/vue/src/calendar-view/src/index.ts | 4 ++++ .../vue/src/calendar-view/src/mobile-first.vue | 5 +++-- packages/vue/src/calendar-view/src/pc.vue | 5 +++-- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/examples/sites/demos/apis/calendar-view.js b/examples/sites/demos/apis/calendar-view.js index 73a3c3f6aa..5a76aa28c3 100644 --- a/examples/sites/demos/apis/calendar-view.js +++ b/examples/sites/demos/apis/calendar-view.js @@ -149,6 +149,20 @@ export default { pcDemo: 'basic-usage', mfDemo: 'basic-usage' }, + { + name: 'show-tip-time', + type: 'Boolean', + defaultValue: 'true', + desc: { + 'zh-CN': '显示日程tips时间', + 'en-US': 'Show schedule tips time' + }, + meta: { + stable: '3.23.0' + }, + mode: ['pc', 'mobile-first'], + mfDemo: '' + }, { name: 'v-model', type: 'String', diff --git a/packages/vue/src/calendar-view/src/index.ts b/packages/vue/src/calendar-view/src/index.ts index 5e8122f0b5..0520d2dc42 100644 --- a/packages/vue/src/calendar-view/src/index.ts +++ b/packages/vue/src/calendar-view/src/index.ts @@ -80,6 +80,10 @@ export const calendarViewProps = { showBackToday: { type: Boolean, default: true + }, + showTipTime: { + type: Boolean, + default: true } } diff --git a/packages/vue/src/calendar-view/src/mobile-first.vue b/packages/vue/src/calendar-view/src/mobile-first.vue index c7760b913c..bf4ccac9b2 100644 --- a/packages/vue/src/calendar-view/src/mobile-first.vue +++ b/packages/vue/src/calendar-view/src/mobile-first.vue @@ -4,7 +4,7 @@