File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,7 @@ export default Vue.extend({
60
60
props: {
61
61
lesson: {
62
62
type: Object as () => classData .Lesson ,
63
- required: true ,
64
- default : () => {}
63
+ required: true
65
64
},
66
65
editable: {
67
66
type: Boolean ,
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export default Vue.extend({
39
39
props: {
40
40
classData: {
41
41
type: Object as () => classData .Lesson ,
42
- default : () => {}
42
+ required: true
43
43
}
44
44
},
45
45
methods: {
Original file line number Diff line number Diff line change 22
22
<v-icon v-if =" isCheck" color =" #0071C2" >mdi-check-box-outline</v-icon >
23
23
<v-icon v-else color =" #0071C2" >mdi-checkbox-blank-outline</v-icon >
24
24
</label >
25
- <action-button class =" Button" theme =" primary" text =" 利用を開始する" />
26
- <action-button class =" Button" theme =" border" text =" 同意しない" />
25
+ <action-button
26
+ :is-disabled =" !isCheck"
27
+ class =" Button"
28
+ theme =" primary"
29
+ text =" 利用を開始する"
30
+ @click =" $emit('clickAgreeButton')"
31
+ />
32
+ <action-button
33
+ class =" Button"
34
+ theme =" border"
35
+ text =" 同意しない"
36
+ @click =" $router.push('/')"
37
+ />
27
38
</div >
28
39
</template >
29
40
You can’t perform that action at this time.
0 commit comments