Skip to content

Commit 99e9d67

Browse files
committed
storeのmutationを修正
1 parent 74094d0 commit 99e9d67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/store/modules/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export class AppStore extends VuexModule implements App {
2929
}
3030

3131
@mutation
32-
public setDate(date: string) {
33-
this.currentDate = this.$store.$dayjs(date).toDate()
32+
public setDate(date: Date) {
33+
this.currentDate = date
3434
}
3535

3636
@mutation

0 commit comments

Comments
 (0)