watch: {
    'form.name' (nv, ov) {
        if(nv) {console.log(nv)}}} // Note that this is just a general use, slightly complicated, you can't monitorCopy the code

Deep depth monitoring

watch: {
    'form.name': {
        handler (nv, ov) {
            console.log(nv)
        },
        deep: true}} // Basically solve all monitoring problemsCopy the code

Immediate (triggers a callback)


watch: {
    'form.name': {
        handler (nv, ov) {
            console.log(nv)
        },
        immediate: true}} // the callback is triggeredCopy the code