Avoid mutating a prop directly since the value will be overwritten

From Vue 2.3.0 on you can use the .sync modifier:

Sample from https://v2.vuejs.org/v2/guide/components-custom-events.html#sync-Modifier:

<text-document :title.sync="title"></text-document>

and in your controller…

this.$emit('update:title', newTitle)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)