From 434cd3e30cc354fd25025dd48870a6083894b3ec Mon Sep 17 00:00:00 2001 From: higuaifan Date: Tue, 7 Jan 2025 09:47:34 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20[doc/dialog]=20add=20closing=20cont?= =?UTF-8?q?rol=20demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/demos/message/dialog/closingControl.vue | 20 ++++++++++++++++++++ doc/i18n/components/message.ts | 3 ++- doc/pages/docs/components/message/dialog.md | 4 ++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 doc/demos/message/dialog/closingControl.vue diff --git a/doc/demos/message/dialog/closingControl.vue b/doc/demos/message/dialog/closingControl.vue new file mode 100644 index 00000000..cf556c6a --- /dev/null +++ b/doc/demos/message/dialog/closingControl.vue @@ -0,0 +1,20 @@ + + + + + diff --git a/doc/i18n/components/message.ts b/doc/i18n/components/message.ts index 2da3f540..adc0462b 100644 --- a/doc/i18n/components/message.ts +++ b/doc/i18n/components/message.ts @@ -20,6 +20,7 @@ export const message = { '点击控制': 'Click Control', '普通悬浮提示': 'Basic Tooltip', '普通确认框': 'Basic Confirm', + '控制关闭': 'Closing Control', }, zh: { '普通弹窗': '普通弹窗', @@ -33,6 +34,6 @@ export const message = { '点击控制': '点击控制', '普通悬浮提示': '普通悬浮提示', '普通确认框': '普通确认框', - + '控制关闭': '控制关闭', }, }; diff --git a/doc/pages/docs/components/message/dialog.md b/doc/pages/docs/components/message/dialog.md index 8143395d..0b94744a 100644 --- a/doc/pages/docs/components/message/dialog.md +++ b/doc/pages/docs/components/message/dialog.md @@ -12,6 +12,10 @@ ::: demo message/dialog/height +### {{$t(\'控制关闭\')}} + +::: demo message/dialog/closingControl + ## API ::: api message/dialog