You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vue.component('story', {
// ...
methods: {
// ...
updateFavorite: function () {
// 'update' — это просто имя пользовательского события
// это может быть что угодно, например, fav-update this.$emit('update', this.story)
} }
// ...
});
должно быть
Vue.component('story', {
// ...
methods: {
// ...
setFavorite: function () {
// 'update' — это просто имя пользовательского события
// это может быть что угодно, например, fav-update this.$emit('update', this.story)
} }
// ...
});
The text was updated successfully, but these errors were encountered:
Vue.component('story', {
// ...
methods: {
// ...
updateFavorite: function () {
// 'update' — это просто имя пользовательского события
// это может быть что угодно, например, fav-update this.$emit('update', this.story)
} }
// ...
});
должно быть
Vue.component('story', {
// ...
methods: {
// ...
setFavorite: function () {
// 'update' — это просто имя пользовательского события
// это может быть что угодно, например, fav-update this.$emit('update', this.story)
} }
// ...
});
The text was updated successfully, but these errors were encountered: