Skip to content

Commit 5df4b1a

Browse files
committed
fix(modal): modify the display and error issues of the mobile demo
1 parent 13660bc commit 5df4b1a

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

examples/sites/demos/mobile/app/modal/is-form-reset.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="content">
33
<tiny-button @click="value1 = !value1" :reset-time="0">点击关闭按钮时触发事件</tiny-button>
44

5-
<tiny-modal v-model="value1" type="confirm" show-footer @close="closeClick" :is-form-reset="false">
5+
<tiny-modal v-model="value1" type="confirm" show-footer @close="closeClick" :is-form-reset="true">
66
<tiny-form :model="createData" label-width="100px">
77
<tiny-form-item label="用户名" prop="username">
88
<tiny-input v-model="createData.username"></tiny-input>

examples/sites/demos/mobile/app/modal/showFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default {
1111
},
1212
methods: {
1313
btnClick() {
14-
TinyModal.alert({ message: '不显示底部', showFooter: false, tiny_mode: 'mobile' })
14+
TinyModal.alert({ message: '不显示底部', maskClosable: true, showFooter: false, tiny_mode: 'mobile' })
1515
}
1616
}
1717
}

examples/sites/demos/mobile/app/modal/webdoc/modal.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,6 @@ export default {
110110
},
111111
codeFiles: ['fullscreen.vue']
112112
},
113-
{
114-
demoId: 'grid',
115-
name: {
116-
'zh-CN': '网格',
117-
'en-US': 'button type'
118-
},
119-
desc: {
120-
'zh-CN': '<p>网格</p>',
121-
'en-US': '<p>button type</p>'
122-
},
123-
codeFiles: ['grid.vue']
124-
},
125113
{
126114
demoId: 'hide-event',
127115
name: {

0 commit comments

Comments
 (0)