watch: {
'form.localPath': function (curVal, oldVal){
// 实现input连续输入,只发一次请求
clearTimeout(this.timeout)
this.timeout = setTimeout(() => {
this.outputPath(curVal)
}, 900)
}
},
vue如果需要监听对象某一个值的话可以这个来监听