Skip to content

Commit cbbc121

Browse files
authored
docs(Drawer): fix snippet typo
1 parent 17f9f77 commit cbbc121

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/components/drawer/drawer-demo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ if (document.getElementById('vue-drawerDemo')) {
1919
computed: {
2020
attrBodyClass: function () {
2121
if (this.bodyClasses !== '') {
22-
return `class="${this.bodyClasses}`;
22+
return `class="${this.bodyClasses}"`;
2323
}
2424
return '';
2525
},
2626
attrDrawerClass: function () {
2727
if (this.drawerClasses !== '') {
28-
return `class="${this.drawerClasses}`;
28+
return `class="${this.drawerClasses}"`;
2929
}
3030
return '';
3131
},

0 commit comments

Comments
 (0)