-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add 3-5th tasks of 3rd module #9
Conversation
Добавляю преподавателя (@ShGKme) для код-ревью. |
Решение было обновлено, посмотрим что скажет @ShGKme |
Решение было обновлено, посмотрим что скажет @ShGKme |
Решение было обновлено, посмотрим что скажет @ShGKme |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Есть одна маленькая проблемка, остальные задачи приняты
props: { | ||
alertData: { | ||
type: Object, | ||
}, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Этот параметр описан, как необязательный (нет required: true
). Но этот компонент не только не имеет смысла без этого параметра (ему нечего выводить), но и упадёт с cannot read property of undefined
при попытке вывести alertData.sender_name
.
Такие параметры должны быть описаны, как обязательные, так как компонент без них работать не может.
props: { | ||
weatherData: { | ||
type: Object, | ||
}, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Аналогичная проблема
Добавляю преподавателя (@ShGKme) для код-ревью. |
No description provided.