Vue组件传值
父组件调用
<ymy-graphic-info :flag="tableData" :pictureId="pictures" :voiceId="voices" :pictureInfo="info" :words="words" :videoId="videoIds"></ymy-graphic-info>
子组件传值
props:['flag','pictureId','voiceId','pictureInfo','words','videoId'],
父组件data绑定
tableData:[
{date:'09月20日'}
],
// tableData:[],
pictures:[
{id:1}
],
voices:[
{id:111}
],
videoIds:[
{id:1111}
],
info:true,
words:false,