Regarder des tableaux et des objets (vue 3)
watch(
colours,
() => {
console.log('The list of colours has changed!');
},
{
deep: true,
}
);
Relieved Rook
watch(
colours,
() => {
console.log('The list of colours has changed!');
},
{
deep: true,
}
);