数据格式如下
"data": [
{
"childNodes": [
null
],
"parentNode": {
"key": "string",
"value": "string"
}
}
],
怎么通过设置Props拿到key和value
<el-form-item label="所属行业" prop="industry">
<el-cascader
v-model="detail.industry"
:options="industryList"
:props="props"
:show-all-levels="false"
/>
</el-form-item>
props: {
label: 'key',
value: 'value ',
children: 'childNodes'
},
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…