当前位置: 代码迷 >> 综合 >> element UI Cascader 级联选择器
  详细解决方案

element UI Cascader 级联选择器

热度:22   发布时间:2023-12-12 13:37:28.0
<el-form-item label="跳转分类"><el-cascaderstyle="width: 300px;"v-model="item.value":options="options":props= selectReleaseProps@change="handleChange"></el-cascader></el-form-item>
data() {
    return {
    options: [],selectReleaseProps: {
    label: 'name',value: 'code',children: 'sub_list',checkStrictly: true},}
}getGoodPath().then(data =>{
    let releasePath = [];releasePath.push(data.ret_data[3])this.options = [...releasePath];
})
  相关解决方案