旧版式绑定方式:需要在data里面定义一个存放绑定数据的对象
新版绑定方式:都以参数的形式直接绑定在props中即可
:props="{
expandTrigger: 'hover',
label: 'goods_name',
value: 'goods_id',
children: 'children',
}"
旧版式绑定方式:需要在data里面定义一个存放绑定数据的对象
新版绑定方式:都以参数的形式直接绑定在props中即可
:props="{
expandTrigger: 'hover',
label: 'goods_name',
value: 'goods_id',
children: 'children',
}"