Skip to content

Commit 69454fd

Browse files
authored
Merge pull request #234 from harured/bugfix/197_change_class
クラスの切り替え時のエラーを修正
2 parents 1c9164d + 2322dc5 commit 69454fd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/layouts/protected.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{
1717
buttonLabel: 'クラスの切替・登録',
1818
action: () => {
19-
vxm.classData.unloadClassData()
19+
unloadClassData()
2020
this.$router.push('/user/classlist')
2121
return false
2222
}
@@ -138,6 +138,10 @@ export default Vue.extend({
138138
signout() {
139139
vxm.user.logout()
140140
this.$router.push('/')
141+
},
142+
143+
unloadClassData() {
144+
vxm.classData.unloadClassData()
141145
}
142146
}
143147
})

0 commit comments

Comments
 (0)