在子组件用watch监听数据的变化
props: ['editorDetail','imagePath'],
watch: {
'editorDetail': function(newVal,oldVal){
this.formDetail = newVal;
},
deep: true,
},
在子组件用watch监听数据的变化
props: ['editorDetail','imagePath'],
watch: {
'editorDetail': function(newVal,oldVal){
this.formDetail = newVal;
},
deep: true,
},