Skip to content

Commit e27c977

Browse files
authored
Merge pull request #154 from MaySoMusician/feature/v-snack-bar-v-model
v-snackbar に v-model で error を渡す
2 parents ca0061b + c7862f8 commit e27c977

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/EditingScreen.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</v-container>
5757
</v-card-actions>
5858
</v-card>
59-
<v-snackbar :timeout="5000" :value="error" absolute top color="#C01B61">
59+
<v-snackbar v-model="error" :timeout="5000" absolute top color="#C01B61">
6060
エラーにより授業の追加に失敗しました。時間をおいて再度お試しください。
6161
</v-snackbar>
6262
</v-bottom-sheet>

src/pages/account/login.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
</div>
5252
</template>
5353
</bottom-sheet-layer>
54-
<v-snackbar :timeout="5000" :value="error" absolute top color="#C01B61">
54+
<v-snackbar v-model="error" :timeout="5000" absolute top color="#C01B61">
5555
メールアドレスまたはパスワードが正しくありません
5656
</v-snackbar>
5757
</div>

src/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</div>
6565
</v-flex>
6666
</v-flex>
67-
<v-snackbar :timeout="5000" :value="error" absolute top color="#C01B61">
67+
<v-snackbar v-model="error" :timeout="5000" absolute top color="#C01B61">
6868
クラスIDが正しくありません
6969
</v-snackbar>
7070
</v-layout>

0 commit comments

Comments
 (0)