前言
如题
转载自:https://coding.imooc.com/learn/questiondetail/44994.html
示例
watch: {
value: {
handler: function(newVal, oldval) {
if (newVal && newVal.length > 0) {
let temp = this.handleForamtRequest(newVal)
this.fileList = temp
}
},
immediate: true,
deep: true,
async: true
}
},