<el-cascader
v-model="cityBackData"
ref="selectCity"
style="width: 100%"
:options="cityOptions"
:props="{ value: 'id', label: 'name' }"
placeholder="请选择所属地市"
collapse-tags
@change="handleChangeCity"
clearable
></el-cascader>
handleChangeCity (data) {
const selectedNodes = this.$refs.selectCity.getCheckedNodes();
console.log('选中的名称11:',selectedNodes[0].pathLabels);
},