Skip to content

Commit 7ebe36a

Browse files
committed
setClassDataに変更
1 parent 41cfdec commit 7ebe36a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/store/modules/classData.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,10 @@ export class ClassDataStore extends VuexModule implements classData.ClassData {
141141

142142
@action
143143
public async unLoadClassData() {
144-
this.classId = ''
145-
this.className = ''
146-
this.lessons = []
144+
this.setClassData({
145+
classId: '',
146+
className: '',
147+
lessons: []
148+
})
147149
}
148150
}

0 commit comments

Comments
 (0)