From 5df4b1a37640a3665c0ddc7f6d2c25d25d0fe966 Mon Sep 17 00:00:00 2001 From: James-9696 Date: Thu, 26 Dec 2024 01:14:01 -0800 Subject: [PATCH] fix(modal): modify the display and error issues of the mobile demo --- .../sites/demos/mobile/app/modal/is-form-reset.vue | 2 +- examples/sites/demos/mobile/app/modal/showFooter.vue | 2 +- .../sites/demos/mobile/app/modal/webdoc/modal.js | 12 ------------ 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/examples/sites/demos/mobile/app/modal/is-form-reset.vue b/examples/sites/demos/mobile/app/modal/is-form-reset.vue index f4a0e9e053..c8af43587e 100644 --- a/examples/sites/demos/mobile/app/modal/is-form-reset.vue +++ b/examples/sites/demos/mobile/app/modal/is-form-reset.vue @@ -2,7 +2,7 @@
点击关闭按钮时触发事件 - + diff --git a/examples/sites/demos/mobile/app/modal/showFooter.vue b/examples/sites/demos/mobile/app/modal/showFooter.vue index b744f578cd..f2c09bf469 100644 --- a/examples/sites/demos/mobile/app/modal/showFooter.vue +++ b/examples/sites/demos/mobile/app/modal/showFooter.vue @@ -11,7 +11,7 @@ export default { }, methods: { btnClick() { - TinyModal.alert({ message: '不显示底部', showFooter: false, tiny_mode: 'mobile' }) + TinyModal.alert({ message: '不显示底部', maskClosable: true, showFooter: false, tiny_mode: 'mobile' }) } } } diff --git a/examples/sites/demos/mobile/app/modal/webdoc/modal.js b/examples/sites/demos/mobile/app/modal/webdoc/modal.js index f1cd28fc7e..30eeccbeff 100644 --- a/examples/sites/demos/mobile/app/modal/webdoc/modal.js +++ b/examples/sites/demos/mobile/app/modal/webdoc/modal.js @@ -110,18 +110,6 @@ export default { }, codeFiles: ['fullscreen.vue'] }, - { - demoId: 'grid', - name: { - 'zh-CN': '网格', - 'en-US': 'button type' - }, - desc: { - 'zh-CN': '

网格

', - 'en-US': '

button type

' - }, - codeFiles: ['grid.vue'] - }, { demoId: 'hide-event', name: {