[Vuejs]-Right way to transfer parent component's data to the child one (Element UI, Vue.js)?

2👍

You are binding to scope.row.check, but since row.check doesn’t exist, Vue doesn’t recognize that it changed.

However, row.check is getting created, and resizing the window is apparently triggering a re-render, forcing Vue to look at scope.row.check. That’s why you’re seeing that happen.

You need to bind to scope.row.panelNotification.check and scope.row.slackNotification.check, respectively.

Here’s a working fiddle.

Leave a comment