Skip to content

Commit

Permalink
fix(modal): modify the display and error issues of the mobile demo
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 committed Dec 26, 2024
1 parent 13660bc commit 5df4b1a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/sites/demos/mobile/app/modal/is-form-reset.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="content">
<tiny-button @click="value1 = !value1" :reset-time="0">点击关闭按钮时触发事件</tiny-button>

<tiny-modal v-model="value1" type="confirm" show-footer @close="closeClick" :is-form-reset="false">
<tiny-modal v-model="value1" type="confirm" show-footer @close="closeClick" :is-form-reset="true">
<tiny-form :model="createData" label-width="100px">
<tiny-form-item label="用户名" prop="username">
<tiny-input v-model="createData.username"></tiny-input>
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/mobile/app/modal/showFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
}
}
}
Expand Down
12 changes: 0 additions & 12 deletions examples/sites/demos/mobile/app/modal/webdoc/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,6 @@ export default {
},
codeFiles: ['fullscreen.vue']
},
{
demoId: 'grid',
name: {
'zh-CN': '网格',
'en-US': 'button type'
},
desc: {
'zh-CN': '<p>网格</p>',
'en-US': '<p>button type</p>'
},
codeFiles: ['grid.vue']
},
{
demoId: 'hide-event',
name: {
Expand Down

0 comments on commit 5df4b1a

Please sign in to comment.