From b7fbe4757adff5345cac66c497cdc37c84fe483e Mon Sep 17 00:00:00 2001 From: James-9696 Date: Wed, 28 Feb 2024 01:08:52 -0800 Subject: [PATCH] fix: optmize modal demo --- .../demos/pc/app/modal/show-header-footer-composition-api.vue | 2 +- examples/sites/demos/pc/app/modal/show-header-footer.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/sites/demos/pc/app/modal/show-header-footer-composition-api.vue b/examples/sites/demos/pc/app/modal/show-header-footer-composition-api.vue index 2915f5b9e3..ad5e60db29 100644 --- a/examples/sites/demos/pc/app/modal/show-header-footer-composition-api.vue +++ b/examples/sites/demos/pc/app/modal/show-header-footer-composition-api.vue @@ -6,6 +6,6 @@ import { Button as TinyButton, Modal } from '@opentiny/vue' function btnClick() { - Modal.alert({ message: '不显示头部及底部', showHeader: false, showFooter: true }) + Modal.alert({ message: '控制显示头部及底部', showHeader: false, showFooter: true }) } diff --git a/examples/sites/demos/pc/app/modal/show-header-footer.vue b/examples/sites/demos/pc/app/modal/show-header-footer.vue index fd1b02c488..8f414047bf 100644 --- a/examples/sites/demos/pc/app/modal/show-header-footer.vue +++ b/examples/sites/demos/pc/app/modal/show-header-footer.vue @@ -11,7 +11,7 @@ export default { }, methods: { btnClick() { - Modal.alert({ message: '不显示头部及底部', showHeader: false, showFooter: true }) + Modal.alert({ message: '控制显示头部及底部', showHeader: false, showFooter: true }) } } }