diff --git a/src/components/auth/AuthCommonForm.vue b/src/components/auth/AuthCommonForm.vue index c88bf91e..fe58a7ba 100644 --- a/src/components/auth/AuthCommonForm.vue +++ b/src/components/auth/AuthCommonForm.vue @@ -191,7 +191,7 @@ export default { * @param {KeyboardEvent} e */ handleKeydown(e) { - if (e.key.match(/[@ ]/)) { + if (e && e.key && e.key.match(/[@ ]/)) { e.preventDefault() } }, diff --git a/src/components/cafeteria/MealTimeGroup.vue b/src/components/cafeteria/MealTimeGroup.vue index 38b29d4b..66958c21 100644 --- a/src/components/cafeteria/MealTimeGroup.vue +++ b/src/components/cafeteria/MealTimeGroup.vue @@ -135,6 +135,7 @@ export default { flex-wrap: wrap; justify-content: space-evenly; padding: s(3) s(2); + word-break: break-all; .menu-item { margin: 0 s(2) s(1) s(2); diff --git a/src/modules/eodiro-api/api-host.js b/src/modules/eodiro-api/api-host.js index 9f9e7579..65d51c14 100644 --- a/src/modules/eodiro-api/api-host.js +++ b/src/modules/eodiro-api/api-host.js @@ -5,7 +5,7 @@ export default class ApiHost { */ static setHost(host) { if (host.startsWith('eodiro')) { - host = 'https://' + host + host = 'https://api2.' + host } else { host = 'http://' + host.split(':')[0] + ':4000' }