1.element-ui版本要比較新,才能支持級(jí)聯(lián)選擇器,注意css文件也要更新到位
2.options中value
值必須字符串.如果是數(shù)字要注意字符串化
<el-cascader
:options="options"
:props="props"
clearable></el-cascader>
image.png
--by Affandi ⊙▽⊙
1.element-ui版本要比較新,才能支持級(jí)聯(lián)選擇器,注意css文件也要更新到位
2.options中value
值必須字符串.如果是數(shù)字要注意字符串化
<el-cascader
:options="options"
:props="props"
clearable></el-cascader>
image.png
--by Affandi ⊙▽⊙