watch单个监听
computed多个监听
当watch监听复杂数据类型的时候需要做深度监听deep
watch深度监听deep表达式:

     // 深度监听
        watch:{
            msg:{
                handler(val, oldval){
                    if(val.text == 'love'){
                        alert('I Love You')
                    }
                },
                deep:true//开启深度监听
            }
        }

watch深度监听




    
    Title



watch监听器

watch监听




    
    Title



watch监听器

computed多监听




    
    Title



computed监听

(+ )* ={{result}}