File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<v-bottom-sheet
3
- v-model = " sheet "
3
+ :value = " expanded "
4
4
class =" sheet"
5
5
persistent
6
6
scrollable
15
15
<v-col class =" col message" >{{ message }}</v-col >
16
16
<v-col cols =" 2" >
17
17
<span class =" add-button" >
18
- <add-button @addButtonClicked =" addButtonClicked" />
18
+ <add-button @addButtonClicked =" $emit(' addButtonClicked') " />
19
19
</span >
20
20
</v-col >
21
21
</v-row >
@@ -43,22 +43,6 @@ export default Vue.extend({
43
43
required: false ,
44
44
default: true
45
45
}
46
- },
47
- data() {
48
- return {
49
- sheet: this .expanded
50
- }
51
- },
52
- watch: {
53
- expanded(newValue ) {
54
- this .sheet = newValue
55
- }
56
- },
57
- methods: {
58
- addButtonClicked() {
59
- this .sheet = ! this .sheet
60
- this .$emit (' addButtonClicked' , this .sheet )
61
- }
62
46
}
63
47
})
64
48
</script >
You can’t perform that action at this time.
0 commit comments