content:
import cityDataList from 'utils/cityData'
<el-cascader v-model="addModel.code" :show-all-levels="true" :props="{ checkStrictly: true }" :options="options" placeholder="请选择或搜索" clearable filterable ></el-cascader>
绑定数据在data() {return {options:cityDataList}},
具体数据封装在另一篇文章里面
Link: https://pan.baidu.com/s/1ABhRx6UsIBDY4mBVvtugZQ Extraction code: 3aw4 After copying this content, open the Baidu Netdisk mobile phone App, the operation is more convenient