Cascader cascade selector echo

<el-cascader

@change="provinceandcity"

v-model="Provincesandcitiestomonitor" 回显

:options="Provinces"

:props="{

multiple: true,

label: 'label',

value: 'value',

children: 'children',

}"

collapse-tag

></el-cascader>

this.Provincesandcitiestomonitor.push( ["110001", "110000"])

I only have two levels here, so there are only two ids in it. If there are multiple second-level directories, the first-level id remains unchanged, and the second-level id changes. Add an array

おすすめ

転載: blog.csdn.net/weixin_57905352/article/details/122358206