I have 4 component
My component first like this :
<template>
...
<component-second></component-second>
...
</template>
<script>
...
export default {
...
updated() {
// call check method in the component fourth
}
}
</script>
My component second like this :
<template>
...
<component-third></component-third>
...
</template>
<script>
...
export default {
...
}
</script>
My component third like this :
<template>
...
<component-fourth></component-fourth>
...
</template>
<script>
...
export default {
...
}
</script>
My component fourth like this :
<template>
...
</template>
<script>
...
export default {
...
methods: {
check() {
...
}
}
}
</script>
So, if update() in component first executed, I want to call check method in the component fourth
How can I do it?