Skip to content

Commit

Permalink
fix(drawer): [drawer] modify demo
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 committed Oct 28, 2024
1 parent e7aa4a7 commit 2526222
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sites/demos/apis/drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default {
'en-US': ''
},
mode: ['pc', 'mobile-first'],
pcDemo: 'Show bottom or not',
pcDemo: 'footer-slot',
mfDemo: ''
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const width = ref('900px')
function openDrawer0() {
visible.value = true
width.value = '900px'
}
function openDrawer1() {
Expand Down
1 change: 1 addition & 0 deletions examples/sites/demos/pc/app/drawer/width.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default {
methods: {
openDrawer0() {
this.visible = true
this.width = '900px'
},
openDrawer1() {
this.width = '700px'
Expand Down

0 comments on commit 2526222

Please sign in to comment.