File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 64
64
</div >
65
65
</v-flex >
66
66
</v-flex >
67
+ <v-snackbar :timeout =" 5000" :value =" error" absolute top color =" #C01B61" >
68
+ クラスIDが正しくありません
69
+ </v-snackbar >
67
70
</v-layout >
68
71
</template >
69
72
@@ -77,7 +80,6 @@ type DataType = {
77
80
classId: string
78
81
loading: boolean
79
82
error: boolean
80
- errorMessages: string
81
83
valid: boolean
82
84
}
83
85
@@ -91,7 +93,6 @@ export default Vue.extend({
91
93
classId: ' ' ,
92
94
loading: false ,
93
95
error: false ,
94
- errorMessages: ' ' ,
95
96
valid: true
96
97
}
97
98
},
@@ -103,10 +104,9 @@ export default Vue.extend({
103
104
.then (() => {
104
105
this .$router .push (' /classes' )
105
106
})
106
- .catch ((e : Error ) => {
107
+ .catch (() => {
107
108
this .loading = false
108
109
this .error = true
109
- this .errorMessages = e .message
110
110
})
111
111
}
112
112
}
You can’t perform that action at this time.
0 commit comments