Skip to content

Commit

Permalink
fix(drawer): [drawer] modify demo (#2420)
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 authored Oct 28, 2024
1 parent 98a1364 commit eb504d9
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 eb504d9

Please sign in to comment.