el-cascader得用法
<el-cascader
v-model=""
:options=""
:props=""
size="small"
@change="changeCity"
style="width: 100%"
ref="cascaderCity"
clearable
filterable
></el-cascader>
getCheckedNodes()方法獲取值
this.$nextTick(() => {
this.$refs.cascaderCity.getCheckedNodes()
})
this.$nextTick 不用this.$nextTick,this.$refs.cascaderCity.getCheckedNodes獲取不到