数组:数组:

对象:对象:

或者:或者:

子组件:子组件:










  • {{propsText.seleTime}}













  • {{propsText.carsStart}}













  • {{propsText.carEnd}}













  • {{propsText.Remark}}









props: {


propsText:{

type: Object,

default:{}

}
},










  • {{propsText.seleTime}}













  • {{propsText.carsStart}}













  • {{propsText.carEnd}}













  • {{propsText.Remark}}









props: {


propsText:{

type: Object,

default:{}

}
},父组件:父组件:








import appFooterCar from "../FooterCarList/FooterCarList";
data() {

return {



propsText:{

seleTime:11,

carsStart:22,

carEnd:33,

Remark:44,

confirmationCar:55


}

};








import appFooterCar from "../FooterCarList/FooterCarList";
data() {

return {



propsText:{

seleTime:11,

carsStart:22,

carEnd:33,

Remark:44,

confirmationCar:55


}

};补充知识:vue props 属性值接受多个类型补充知识:补充知识:vue props 属性值接受多个类型我就废话不多说了,大家还是直接看代码吧~
originalData: {

type: Array | Object,

default () {

return []

}

}

}

```
originalData: {

type: Array | Object,

default () {

return []

}

}

}

```以上这篇vue props 一次传多个值实例就是小编分享给大家的全部内容了,希望能给大家一个参考。
标签: